Emit it on all platforms since gen7.
Signed-off-by: Rafael Antognolli <[email protected]>
---
src/intel/vulkan/genX_cmd_buffer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/intel/vulkan/genX_cmd_buffer.c
b/src/intel/vulkan/genX_cmd_buffer.c
index 3691b4bdec9..0e8c9ee7c46 100644
--- a/src/intel/vulkan/genX_cmd_buffer.c
+++ b/src/intel/vulkan/genX_cmd_buffer.c
@@ -975,7 +975,7 @@ genX(BeginCommandBuffer)(
* emit push constants again before any rendering operation. So we
* flag them dirty here to make sure they get emitted.
*/
- if (GEN_GEN == 10)
+ if (GEN_GEN >= 7)
cmd_buffer->state.push_constants_dirty |= VK_SHADER_STAGE_ALL_GRAPHICS;
VkResult result = VK_SUCCESS;
@@ -1074,7 +1074,7 @@ genX(EndCommandBuffer)(
genX(cmd_buffer_apply_pipe_flushes)(cmd_buffer);
- if (GEN_GEN == 10)
+ if (GEN_GEN >= 7)
emit_isp_disable(cmd_buffer);
anv_cmd_buffer_end_batch_buffer(cmd_buffer);
--
2.14.3
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev