aboutsummaryrefslogtreecommitdiff
path: root/layers/multi.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobin@lunarg.com>2015-07-01 16:46:13 -0600
committerTobin Ehlis <tobin@lunarg.com>2015-07-09 13:38:21 -0600
commitf809c84ffc139d4705f639c6ef1272d5ff46b6e9 (patch)
tree8a78d7c34c259f7d0814e4582bce76436deae930 /layers/multi.cpp
parent4030414294419776ff271f9e69b8b19e49f000e1 (diff)
downloadusermoji-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/multi.cpp')
0 files changed, 0 insertions, 0 deletions