aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-11-01 21:57:22 -0400
committerMarek Olšák <[email protected]>2019-11-19 18:02:06 -0500
commit445ec0fc63f855b763079a05d1da4dc3bfcb56ae (patch)
tree89a4454b78ebbe7f2b380929a4e2a150c87239e1 /src/mesa/state_tracker
parent2c8652f98a0b6bba4abfc30069bc0c12a54b9e59 (diff)
st/mesa: decrease the size of st_fp_variant_key from 48 to 40 bytes
Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_program.h6
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;
};