diff options
author | Nanley Chery <[email protected]> | 2017-02-27 14:09:03 -0800 |
---|---|---|
committer | Nanley Chery <[email protected]> | 2017-03-02 13:17:55 -0800 |
commit | c78a959bcfab1ad20c3d5063886fb943c00db49e (patch) | |
tree | d2c926760b58b630619883b2e11815784bc7bf1f /src/intel/vulkan/anv_cmd_buffer.c | |
parent | c0223d052bd3a006ff851eabc5a2b5aad00f31a8 (diff) |
anv/cmd_buffer: Enable render pass awareness
v2: Update cmd_state_reset (Jason Ekstrand)
Signed-off-by: Nanley Chery <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_cmd_buffer.c')
-rw-r--r-- | src/intel/vulkan/anv_cmd_buffer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_cmd_buffer.c b/src/intel/vulkan/anv_cmd_buffer.c index ef369c10f5b..cab1dd7305a 100644 --- a/src/intel/vulkan/anv_cmd_buffer.c +++ b/src/intel/vulkan/anv_cmd_buffer.c @@ -131,6 +131,9 @@ anv_cmd_state_reset(struct anv_cmd_buffer *cmd_buffer) state->descriptors_dirty = 0; state->push_constants_dirty = 0; state->pipeline = NULL; + state->framebuffer = NULL; + state->pass = NULL; + state->subpass = NULL; state->push_constant_stages = 0; state->restart_index = UINT32_MAX; state->dynamic = default_dynamic_state; |