mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-27 09:31:03 +00:00
zink: repack zink_gfx_pipeline_state
Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12586>
This commit is contained in:
parent
9c5a2ab6a9
commit
7b3dfea6c1
@ -39,16 +39,14 @@ struct zink_screen;
|
||||
struct zink_vertex_elements_state;
|
||||
|
||||
struct zink_gfx_pipeline_state {
|
||||
struct zink_render_pass *render_pass;
|
||||
|
||||
uint8_t void_alpha_attachments:PIPE_MAX_COLOR_BUFS;
|
||||
struct zink_blend_state *blend_state;
|
||||
|
||||
uint32_t rast_state : ZINK_RAST_HW_STATE_SIZE; //zink_rasterizer_hw_state
|
||||
|
||||
uint32_t rast_samples:7;
|
||||
uint32_t vertices_per_patch;
|
||||
uint32_t void_alpha_attachments:PIPE_MAX_COLOR_BUFS;
|
||||
VkSampleMask sample_mask;
|
||||
uint8_t rast_samples:7;
|
||||
uint8_t vertices_per_patch;
|
||||
|
||||
struct zink_render_pass *render_pass;
|
||||
struct zink_blend_state *blend_state;
|
||||
|
||||
/* Pre-hashed value for table lookup, invalid when zero.
|
||||
* Members after this point are not included in pipeline state hash key */
|
||||
|
Loading…
Reference in New Issue
Block a user