diff options
author | Brian Paul <[email protected]> | 2011-07-27 16:08:58 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-09-22 08:26:36 -0600 |
commit | 1a35fde7c8571c999147bdaeed462b294a86923a (patch) | |
tree | 5b005e3c3e5893d7df9a6b85b46fda98ee183870 /src/gallium/drivers/nvc0 | |
parent | ff6cf60cb80c3bc31d9a4307c32185f65054bc58 (diff) |
svga: fix the test for sRGB texture formats
The pipe_sampler_view::format field should be prefered over the resource/
texture format. The former is used to override the texture format for
sRGB decode enable/disable, etc.
Also, use new util_format_is_srgb() helper to catch all sRGB formats.
This fixes the piglit tex-srgb test for GL_EXT_texture_sRGB_decode.
Diffstat (limited to 'src/gallium/drivers/nvc0')
0 files changed, 0 insertions, 0 deletions