From bdfaf51014dad9d03c6bb5f862cc6815658ddff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 4 Aug 2022 21:58:22 -0400 Subject: [PATCH] radeonsi: fix a regression due to reordering PIPE_SHADER_* Fixes: 27f46465c7a408d3 - gallium/tgsi: reorder pipe shader type defines. Reviewed-by: Pierre-Eric Pelloux-Prayer Reviewed-by: Dave Airlie Part-of: --- src/gallium/drivers/radeonsi/si_pipe.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index 2e5ec4cdb58..e99320d5c65 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -1055,10 +1055,10 @@ struct si_context { union { struct { struct si_shader_ctx_state vs; - struct si_shader_ctx_state ps; - struct si_shader_ctx_state gs; struct si_shader_ctx_state tcs; struct si_shader_ctx_state tes; + struct si_shader_ctx_state gs; + struct si_shader_ctx_state ps; } shader; /* indexed access using pipe_shader_type (not by MESA_SHADER_*) */ struct si_shader_ctx_state shaders[SI_NUM_GRAPHICS_SHADERS];