From e69588b764ecac9cdb13cd1f5c0041d41b2d8652 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 5 Jun 2015 17:26:01 -0700 Subject: [PATCH] vk/device: Use a 64-byte alignment for CC state --- src/vulkan/device.c | 6 +++--- 1 file 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, -- 2.30.2