From: Marek Olšák Date: Sat, 2 Nov 2019 01:57:22 +0000 (-0400) Subject: st/mesa: decrease the size of st_fp_variant_key from 48 to 40 bytes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=445ec0fc63f855b763079a05d1da4dc3bfcb56ae;p=mesa.git st/mesa: decrease the size of st_fp_variant_key from 48 to 40 bytes Acked-by: Pierre-Eric Pelloux-Prayer --- 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; };