st/mesa: increase size of gl_register_file bitfields
authorCharmaine Lee <charmainel@vmware.com>
Fri, 21 Aug 2020 00:11:22 +0000 (17:11 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 21 Aug 2020 17:44:47 +0000 (17:44 +0000)
commit090239ea6b7fee79643960cbc361e4ec577c7be9
treec88e03628db2cb004f75dc8e91ca3daec4a9ad17
parente5899c1e8818f7cfdd23c06c504009e5659794b7
st/mesa: increase size of gl_register_file bitfields

Bump up the size of the bitfields for gl_register_file type for MSVC.
Also add ASSERT_BITFIELD_SIZE check where this bitfield is used.

Fixes spec@arb_shader_atomic_counter_ops tests in MSVC.

Reviewed-by: Neha Bhende <bhenden@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6417>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
src/mesa/state_tracker/st_glsl_to_tgsi_private.h