diff options
| author | Tobin Ehlis <tobin@lunarg.com> | 2015-07-01 16:46:13 -0600 |
|---|---|---|
| committer | Tobin Ehlis <tobin@lunarg.com> | 2015-07-09 13:38:21 -0600 |
| commit | f809c84ffc139d4705f639c6ef1272d5ff46b6e9 (patch) | |
| tree | 8a78d7c34c259f7d0814e4582bce76436deae930 /layers/basic.cpp | |
| parent | 4030414294419776ff271f9e69b8b19e49f000e1 (diff) | |
| download | usermoji-f809c84ffc139d4705f639c6ef1272d5ff46b6e9.tar.xz | |
layers: Add DrawState check to warn on Clears prior to Draw cmds
If a CmdClear*Attachment for Color or DS is added to CmdBuffer and no Draw cmds have yet been issued, a warning is issued as LOAD_OP_CLEAR is preferred method for clearing these attachments prior to a Draw.
Added a test to verify that this case is correctly flagged.
Updated viewMap to contain create info for Color and DS as well as generic Images.
Diffstat (limited to 'layers/basic.cpp')
0 files changed, 0 insertions, 0 deletions
