diff options
Diffstat (limited to 'src/vulkan/anv_private.h')
-rw-r--r-- | src/vulkan/anv_private.h | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h index 58480aca818..4d30bcb68ff 100644 --- a/src/vulkan/anv_private.h +++ b/src/vulkan/anv_private.h @@ -569,17 +569,21 @@ struct anv_dynamic_vp_state { }; struct anv_dynamic_rs_state { - uint32_t state_sf[GEN8_3DSTATE_SF_length]; - uint32_t state_raster[GEN8_3DSTATE_RASTER_length]; + struct { + uint32_t sf[GEN8_3DSTATE_SF_length]; + uint32_t raster[GEN8_3DSTATE_RASTER_length]; + } gen8; }; struct anv_dynamic_ds_state { - uint32_t state_wm_depth_stencil[GEN8_3DSTATE_WM_DEPTH_STENCIL_length]; - uint32_t state_color_calc[GEN8_COLOR_CALC_STATE_length]; + struct { + uint32_t wm_depth_stencil[GEN8_3DSTATE_WM_DEPTH_STENCIL_length]; + uint32_t color_calc_state[GEN8_COLOR_CALC_STATE_length]; + } gen8; }; struct anv_dynamic_cb_state { - uint32_t state_color_calc[GEN8_COLOR_CALC_STATE_length]; + uint32_t color_calc_state[GEN8_COLOR_CALC_STATE_length]; }; @@ -861,13 +865,15 @@ struct anv_pipeline { uint32_t vb_used; uint32_t binding_stride[MAX_VBS]; - uint32_t state_sf[GEN8_3DSTATE_SF_length]; - uint32_t state_vf[GEN8_3DSTATE_VF_length]; - uint32_t state_raster[GEN8_3DSTATE_RASTER_length]; - uint32_t state_wm_depth_stencil[GEN8_3DSTATE_WM_DEPTH_STENCIL_length]; - uint32_t cs_thread_width_max; uint32_t cs_right_mask; + + struct { + uint32_t sf[GEN8_3DSTATE_SF_length]; + uint32_t vf[GEN8_3DSTATE_VF_length]; + uint32_t raster[GEN8_3DSTATE_RASTER_length]; + uint32_t wm_depth_stencil[GEN8_3DSTATE_WM_DEPTH_STENCIL_length]; + } gen8; }; struct anv_graphics_pipeline_create_info { |