llvmpipe: make opaque field a 1-bit field

Reduces sizeof(lp_fragment_shader_variant) from 296 to 288 bytes.

Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17561>
This commit is contained in:
Brian Paul 2022-07-15 08:43:07 -06:00 committed by Marge Bot
parent c9c5fc1e9a
commit fb6aaaf2c3
1 changed files with 1 additions and 1 deletions

View File

@ -164,10 +164,10 @@ struct lp_fragment_shader_variant
*/
unsigned potentially_opaque:1;
unsigned opaque:1;
unsigned blit:1;
unsigned linear_input_mask:16;
struct pipe_reference reference;
boolean opaque;
struct gallivm_state *gallivm;