From e4b6a0a82457b3ef40c5857412e20bc344ff302c Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Thu, 1 Jun 2023 21:44:15 +0800 Subject: [PATCH] compiler: Getting shader_prim to be PACKED that consistence with pipe_prim_type MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This is a prepare step for replace all usage of pipe_prim_type and shader_prim with mesa_prim Signed-off-by: Yonggang Luo Acked-by: Marek Olšák Acked-by: Jesse Natalie Part-of: --- src/compiler/shader_enums.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/shader_enums.h b/src/compiler/shader_enums.h index 17dd94b..d282074 100644 --- a/src/compiler/shader_enums.h +++ b/src/compiler/shader_enums.h @@ -1151,7 +1151,7 @@ enum tess_primitive_mode }; /* these also map directly to GL and gallium prim types. */ -enum shader_prim +enum PACKED shader_prim { SHADER_PRIM_POINTS, SHADER_PRIM_LINES, -- 2.7.4