summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-06-05 17:26:01 -0700
committerJason Ekstrand <[email protected]>2015-06-05 17:26:26 -0700
commite69588b764ecac9cdb13cd1f5c0041d41b2d8652 (patch)
treee0de874bdf4af5e4036489261ca4f72667ce21b5
parentc2eeab305b0dd07969a0d1ba66451f5a3d07dcfe (diff)
vk/device: Use a 64-byte alignment for CC state
-rw-r--r--src/vulkan/device.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vulkan/device.c b/src/vulkan/device.c
index 6a93766158f..39047aa3505 100644
--- a/src/vulkan/device.c
+++ b/src/vulkan/device.c
@@ -3124,16 +3124,16 @@ anv_cmd_buffer_flush_state(struct anv_cmd_buffer *cmd_buffer)
if (cmd_buffer->ds_state == NULL)
state = anv_cmd_buffer_emit_dynamic(cmd_buffer,
cmd_buffer->cb_state->state_color_calc,
- GEN8_COLOR_CALC_STATE_length, 32);
+ GEN8_COLOR_CALC_STATE_length, 64);
else if (cmd_buffer->cb_state == NULL)
state = anv_cmd_buffer_emit_dynamic(cmd_buffer,
cmd_buffer->ds_state->state_color_calc,
- GEN8_COLOR_CALC_STATE_length, 32);
+ GEN8_COLOR_CALC_STATE_length, 64);
else
state = anv_cmd_buffer_merge_dynamic(cmd_buffer,
cmd_buffer->ds_state->state_color_calc,
cmd_buffer->cb_state->state_color_calc,
- GEN8_COLOR_CALC_STATE_length, 32);
+ GEN8_COLOR_CALC_STATE_length, 64);
anv_batch_emit(&cmd_buffer->batch,
GEN8_3DSTATE_CC_STATE_POINTERS,