summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_atom.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2019-11-14 17:41:27 -0800
committerEric Anholt <[email protected]>2019-11-15 20:32:17 +0000
commitbc2b14a4a344774da4f62e7b8e53a64c389ccb5a (patch)
tree5ef0954ee06631b4894c58803b4e76830c164c06 /src/mesa/state_tracker/st_atom.c
parente5b06008f15fd916c53b1f7be2353ac6ecfbbc8f (diff)
mesa: Don't put sRGB formats in the array format table.
sRGB vs unorm was the only conflict case being guarded against in this function. Before the PIPE_FORMAT conversion, we always listed the unorm before the sRGB in the enums, but PIPE_FORMAT_A8B8G8R8_SRGB happens to be before _UNORM. We always want the unorm result here. Fixes: 807a800d8c3e ("mesa: Redefine MESA_FORMAT_* in terms of PIPE_FORMAT_*.") Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_atom.c')
0 files changed, 0 insertions, 0 deletions