aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobin Ehlis <tobin@lunarg.com>2015-06-22 17:20:50 -0600
committerTobin Ehlis <tobin@lunarg.com>2015-06-25 16:49:30 -0600
commit5c547657634969ca4f39739c723a60f35b31f381 (patch)
treea121d128e87845c32cab9f64cc870ef5ab0e2d08
parent170943697f7814f926b90a709b63733da89631e3 (diff)
downloadusermoji-5c547657634969ca4f39739c723a60f35b31f381.tar.xz
layers: Add DrawState check to verify that Pipeline layout from vkCmdBindDescriptorSets() matches layout from PSO at Draw time.
Also fix a bug where PSO status flags were not getting set into Cmd Buffer.
-rw-r--r--layers/draw_state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/draw_state.h b/layers/draw_state.h
index 6ae96d9d..9e7d7f89 100644
--- a/layers/draw_state.h
+++ b/layers/draw_state.h
@@ -56,8 +56,8 @@ typedef enum _DRAW_STATE_ERROR
DRAWSTATE_INDEX_BUFFER_NOT_BOUND, // Draw submitted with no depth-stencil state object bound when depth write enabled
DRAWSTATE_PIPELINE_LAYOUT_MISMATCH, // Draw submitted PSO Pipeline layout that doesn't match layout from BindDescriptorSets
DRAWSTATE_INVALID_RENDERPASS_CMD, // Invalid cmd submitted while a RenderPass is active
- DRAWSTATE_RENDER_CMD_WITHOUT_RENDERPASS, // Rendering cmd submitted without an active RenderPass
DRAWSTATE_INVALID_RENDERPASS, // Use of a NULL or otherwise invalid RenderPass object
+ DRAWSTATE_PIPELINE_LAYOUT_MISMATCH, // Draw submitted PSO Pipeline layout that doesn't match layout from BindDescriptorSets
DRAWSTATE_INVALID_EXTENSION,
} DRAW_STATE_ERROR;