diff options
author | Eric Anholt <[email protected]> | 2019-11-14 17:41:27 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2019-11-15 20:32:17 +0000 |
commit | bc2b14a4a344774da4f62e7b8e53a64c389ccb5a (patch) | |
tree | 5ef0954ee06631b4894c58803b4e76830c164c06 /src/mesa/x86/x86_xform.h | |
parent | e5b06008f15fd916c53b1f7be2353ac6ecfbbc8f (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/x86/x86_xform.h')
0 files changed, 0 insertions, 0 deletions