From: Jason Ekstrand Date: Sat, 6 Jun 2015 00:26:01 +0000 (-0700) Subject: vk/device: Use a 64-byte alignment for CC state X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e69588b764ecac9cdb13cd1f5c0041d41b2d8652;p=mesa.git vk/device: Use a 64-byte alignment for CC state --- 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,