diff options
author | Kenneth Graunke <[email protected]> | 2015-02-26 14:29:25 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-02-27 11:36:27 -0800 |
commit | 53295bebc883c5b90b4b3a2612d7cacabc94fd1b (patch) | |
tree | 6ce059ed54d75d08938e0953c262fd3295ceb1ac /src/gallium/auxiliary/util/u_math.h | |
parent | ea696be5ac097af621f10858d925a343a838be7a (diff) |
i965: Fix I/L/LA SNORM formats.
_mesa_choose_tex_format (texformat.c) tries I8_SNORM, L8_SNORM, and
either L8A8_SNORM or A8L8_SNORM, none of which are supported by our
driver. Failing that, it falls back to RGBX for luminance, and RGBA
intensity and luminance alpha. So, we need to use swizzle overrrides
to obtain the correct values.
Fixes Piglit's EXT_texture_snorm/fbo-blending-formats and
fbo-clear-formats.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Chris Forbes <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_math.h')
0 files changed, 0 insertions, 0 deletions