summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_atom.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-04-11 16:29:02 -0600
committerBrian Paul <[email protected]>2016-04-11 17:04:13 -0600
commit704d203d5f9bfaee1367678e3c4e11e25e22acc4 (patch)
tree4a45360cb79fe45fdcf27cbed4e7a8b7093c3354 /src/mesa/state_tracker/st_atom.c
parenta9e6213edd757980475167331bda15c3970a538d (diff)
st/mesa: replace _mesa_sysval_to_semantic table with function
Instead of using an array indexed by SYSTEM_VALUE_x, just use a switch statement. This fixes a regression caused by inserting new SYSTEM_VALUE_ enums but not updating the mapping to TGSI semantics. v2: fix a few switch statement mistakes for compute-related enums Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_atom.c')
0 files changed, 0 insertions, 0 deletions