diff options
| author | Tobin Ehlis <tobin@lunarg.com> | 2015-10-27 12:25:35 -0600 |
|---|---|---|
| committer | Tobin Ehlis <tobin@lunarg.com> | 2015-10-28 09:19:47 -0600 |
| commit | fdf1622c1ced1f944aa082506126e27382715b8c (patch) | |
| tree | 04a821c1b6d86c9a7194b0d67608085b0a166431 /layers/image.cpp | |
| parent | 5a1f920153fbb71ff3c36972f062418f05976722 (diff) | |
| download | usermoji-fdf1622c1ced1f944aa082506126e27382715b8c.tar.xz | |
layers: Improve DrawState write descriptor update
Validate that stageFlags are the same for a single write update.
Validate that all sampler updates from a single write update are either immutable or non-immutable.
Refactor update contents check to have a loop per switch case instead of switching for each loop iteration.
Added two new validation errors:
DRAWSTATE_DESCRIPTOR_STAGEFLAGS_MISMATCH
DRAWSTATE_INCONSISTENT_IMMUTABLE_SAMPLER_UPDATE
Diffstat (limited to 'layers/image.cpp')
0 files changed, 0 insertions, 0 deletions
