diff options
| author | Chris Forbes <chrisforbes@google.com> | 2017-08-16 12:56:01 -0700 |
|---|---|---|
| committer | Chris Forbes <chrisf@ijw.co.nz> | 2017-08-17 09:49:34 -0700 |
| commit | 21d9d249270d45a65d2cfa57bdd0a1736db5b9ab (patch) | |
| tree | 79ff5f4b247f547334a9cfb13ae168b68f44ae71 /layers | |
| parent | 74013d2e4f471df7ffa95460eb509f4220653378 (diff) | |
| download | usermoji-21d9d249270d45a65d2cfa57bdd0a1736db5b9ab.tar.xz | |
layers: (re)-add viewport and scissor cbstatus flags
We won't actually check these at draw time since we have more precise
per-viewport and per-scissor support there, but we need these in order
to easily reject CmdSetViewport/CmdSetScissor when the pipeline doesn't
have the appropriate dynamic state enabled.
Diffstat (limited to 'layers')
| -rw-r--r-- | layers/core_validation_types.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/layers/core_validation_types.h b/layers/core_validation_types.h index 800610b7..f94cbd8c 100644 --- a/layers/core_validation_types.h +++ b/layers/core_validation_types.h @@ -460,8 +460,10 @@ enum CBStatusFlagBits { CBSTATUS_STENCIL_READ_MASK_SET = 0x00000010, // Stencil read mask has been set CBSTATUS_STENCIL_WRITE_MASK_SET = 0x00000020, // Stencil write mask has been set CBSTATUS_STENCIL_REFERENCE_SET = 0x00000040, // Stencil reference has been set - CBSTATUS_INDEX_BUFFER_BOUND = 0x00000080, // Index buffer has been set - CBSTATUS_ALL_STATE_SET = 0x0000007F, // All state set (intentionally exclude index buffer) + CBSTATUS_VIEWPORT_SET = 0x00000080, + CBSTATUS_SCISSOR_SET = 0x00000100, + CBSTATUS_INDEX_BUFFER_BOUND = 0x00000200, // Index buffer has been set + CBSTATUS_ALL_STATE_SET = 0x000001FF, // All state set (intentionally exclude index buffer) // clang-format on }; |
