zink: define zink_pipeline_dynamic_state3 as zink_rasterizer_hw_state

this ensures the structs are kept in sync

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18911>
This commit is contained in:
Mike Blumenkrantz
2022-09-30 11:40:58 -04:00
committed by Marge Bot
parent 50a7ac1bb2
commit 2d6fa1dcdf

View File

@@ -650,14 +650,7 @@ struct zink_pipeline_dynamic_state2 {
uint16_t vertices_per_patch; //5 bits
};
struct zink_pipeline_dynamic_state3 {
unsigned polygon_mode : 2; //VkPolygonMode
unsigned line_mode : 2; //VkLineRasterizationModeEXT
unsigned depth_clamp:1;
unsigned pv_last:1;
unsigned line_stipple_enable:1;
unsigned clip_halfz:1;
};
#define zink_pipeline_dynamic_state3 zink_rasterizer_hw_state
struct zink_gfx_pipeline_state {
/* order matches zink_gfx_output_key */