From: Mike Blumenkrantz Date: Tue, 15 Jun 2021 15:52:08 +0000 (-0400) Subject: zink: repack zink_gfx_pipeline_state X-Git-Tag: upstream/22.3.5~18669 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b3dfea6c187530f8d7137c9dfe33e981cdf00c0;p=platform%2Fupstream%2Fmesa.git zink: repack zink_gfx_pipeline_state Reviewed-by: Dave Airlie Part-of: --- diff --git a/src/gallium/drivers/zink/zink_pipeline.h b/src/gallium/drivers/zink/zink_pipeline.h index 007901e..81eb8a2 100644 --- a/src/gallium/drivers/zink/zink_pipeline.h +++ b/src/gallium/drivers/zink/zink_pipeline.h @@ -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 */