From a442e3ff551dd737607be6d5bb3ca08bea8dc1f5 Mon Sep 17 00:00:00 2001 From: Charmaine Lee Date: Mon, 29 Mar 2021 23:01:41 -0700 Subject: [PATCH] gallivm: increase size of texture target enum bitfield Need to bump up the size of texture target bitfield for MSVC. Fixes: 0ce7c4a7c981 ("gallivm: Use the proper enum for the texture target bitfield.") Reviewed-by: Neha Bhende Reviewed-by: Roland Scheidegger Part-of: --- src/gallium/auxiliary/gallivm/lp_bld_sample.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample.h b/src/gallium/auxiliary/gallivm/lp_bld_sample.h index 2028e468b26..c608e42c13e 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_sample.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_sample.h @@ -169,7 +169,7 @@ struct lp_static_texture_state unsigned swizzle_a:3; /* pipe_texture's state */ - enum pipe_texture_target target:4; /**< PIPE_TEXTURE_* */ + enum pipe_texture_target target:5; /**< PIPE_TEXTURE_* */ unsigned pot_width:1; /**< is the width a power of two? */ unsigned pot_height:1; unsigned pot_depth:1;