summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharmaine Lee <charmainel@vmware.com>2021-03-29 23:01:41 -0700
committerDylan Baker <dylan.c.baker@intel.com>2021-04-06 09:41:55 -0700
commit99a47874de3930b29098e721e2d0b19ae9c03c77 (patch)
tree87e6d20235f7271e6cca5096cd56d5d2f9aa02be /src
parented60dec381a7338dee4442c1284d225b484a4f8e (diff)
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 <bhenden@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9928> (cherry picked from commit a442e3ff551dd737607be6d5bb3ca08bea8dc1f5)
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_sample.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample.h b/src/gallium/auxiliary/gallivm/lp_bld_sample.h
index ed85f86258e..b09a9b9f40c 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;