diff options
author | Marek Olšák <[email protected]> | 2019-11-01 21:57:22 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-11-19 18:02:06 -0500 |
commit | 445ec0fc63f855b763079a05d1da4dc3bfcb56ae (patch) | |
tree | 89a4454b78ebbe7f2b380929a4e2a150c87239e1 | |
parent | 2c8652f98a0b6bba4abfc30069bc0c12a54b9e59 (diff) |
st/mesa: decrease the size of st_fp_variant_key from 48 to 40 bytes
Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]>
-rw-r--r-- | src/mesa/state_tracker/st_program.h | 6 |
1 files 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; }; |