From 445ec0fc63f855b763079a05d1da4dc3bfcb56ae Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Fri, 1 Nov 2019 21:57:22 -0400 Subject: [PATCH] st/mesa: decrease the size of st_fp_variant_key from 48 to 40 bytes Acked-by: Pierre-Eric Pelloux-Prayer --- src/mesa/state_tracker/st_program.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mesa/state_tracker/st_program.h b/src/mesa/state_tracker/st_program.h index 830dd6a7ca5..90e06e9effb 100644 --- a/src/mesa/state_tracker/st_program.h +++ b/src/mesa/state_tracker/st_program.h @@ -130,13 +130,13 @@ struct st_fp_variant_key /** for OpenGL 1.0 on modern hardware */ GLuint lower_two_sided_color:1; + GLuint lower_flatshade:1; + enum compare_func lower_alpha_func:3; + /** needed for ATI_fragment_shader */ char texture_targets[MAX_NUM_FRAGMENT_REGISTERS_ATI]; struct st_external_sampler_key external; - - GLuint lower_flatshade:1; - enum compare_func lower_alpha_func:3; }; -- 2.30.2