vk/device: Use a 64-byte alignment for CC state
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 6 Jun 2015 00:26:01 +0000 (17:26 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 6 Jun 2015 00:26:26 +0000 (17:26 -0700)
src/vulkan/device.c

index 6a93766158f8f0fbf79fdaa95ae64e05d0139c37..39047aa3505093df75a9a03f2bbd9cb4231d6886 100644 (file)
@@ -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,