diff options
author | Jason Ekstrand <[email protected]> | 2016-06-14 08:15:34 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-06-20 12:03:09 -0700 |
commit | 8a46b505cb2c7255ad430b56c1ce0dfa9c13c559 (patch) | |
tree | e80b5f09548ccc087a49704fcad32fe011ddcc90 /src/intel/vulkan/genX_cmd_buffer.c | |
parent | 20e95a746df34923eb4aac5e7f1ab6d722432d89 (diff) |
anv/cmd_buffer: Split emit_viewport in two
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Cc: "12.0" <[email protected]>
Diffstat (limited to 'src/intel/vulkan/genX_cmd_buffer.c')
-rw-r--r-- | src/intel/vulkan/genX_cmd_buffer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/intel/vulkan/genX_cmd_buffer.c b/src/intel/vulkan/genX_cmd_buffer.c index c62bed40969..58f5e0bbead 100644 --- a/src/intel/vulkan/genX_cmd_buffer.c +++ b/src/intel/vulkan/genX_cmd_buffer.c @@ -525,8 +525,10 @@ genX(cmd_buffer_flush_state)(struct anv_cmd_buffer *cmd_buffer) if (dirty) gen7_cmd_buffer_emit_descriptor_pointers(cmd_buffer, dirty); - if (cmd_buffer->state.dirty & ANV_CMD_DIRTY_DYNAMIC_VIEWPORT) + if (cmd_buffer->state.dirty & ANV_CMD_DIRTY_DYNAMIC_VIEWPORT) { gen8_cmd_buffer_emit_viewport(cmd_buffer); + gen8_cmd_buffer_emit_depth_viewport(cmd_buffer); + } if (cmd_buffer->state.dirty & ANV_CMD_DIRTY_DYNAMIC_SCISSOR) gen7_cmd_buffer_emit_scissor(cmd_buffer); |