Mesa (main): zink: repack zink_gfx_pipeline_state
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Aug 27 11:07:15 UTC 2021
Module: Mesa
Branch: main
Commit: 7b3dfea6c187530f8d7137c9dfe33e981cdf00c0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b3dfea6c187530f8d7137c9dfe33e981cdf00c0
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Jun 15 11:52:08 2021 -0400
zink: repack zink_gfx_pipeline_state
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12586>
---
src/gallium/drivers/zink/zink_pipeline.h | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/src/gallium/drivers/zink/zink_pipeline.h b/src/gallium/drivers/zink/zink_pipeline.h
index 007901e189d..81eb8a22152 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 */
More information about the mesa-commit
mailing list