Mesa (main): panfrost: Add padding to pan_blit_blend_shader_key
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Aug 23 21:08:49 UTC 2021
Module: Mesa
Branch: main
Commit: 27367cf0186038a624bed097bc93a617074d27ab
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=27367cf0186038a624bed097bc93a617074d27ab
Author: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Date: Tue Jul 6 10:31:38 2021 +0200
panfrost: Add padding to pan_blit_blend_shader_key
So the hashtable helpers know the correct size of the struct.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11383>
---
src/panfrost/lib/pan_blitter.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/panfrost/lib/pan_blitter.c b/src/panfrost/lib/pan_blitter.c
index 48e3bd2b603..4208a9cb17b 100644
--- a/src/panfrost/lib/pan_blitter.c
+++ b/src/panfrost/lib/pan_blitter.c
@@ -87,6 +87,7 @@ struct pan_blit_blend_shader_key {
nir_alu_type type;
unsigned rt : 3;
unsigned nr_samples : 5;
+ unsigned pad : 24;
};
struct pan_blit_blend_shader_data {
More information about the mesa-commit
mailing list