[Bug 100650] texelFetch should always perform sRGB decode
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Apr 11 05:24:13 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=100650
Bug ID: 100650
Summary: texelFetch should always perform sRGB decode
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/i965
Assignee: intel-3d-bugs at lists.freedesktop.org
Reporter: kenneth at whitecape.org
QA Contact: intel-3d-bugs at lists.freedesktop.org
Blocks: 94448
The i965 driver fails the following dEQP test on all platforms:
dEQP-GLES31.functional.srgb_texture_decode.skip_decode.srgba8.texel_fetch
This is because it respects GL_SKIP_DECODE_EXT for all texturing functions,
when it's required to ignore it for texelFetch*(). From the
EXT_texture_sRGB_decode spec:
"The conversion of sRGB color space components to linear color space is
always performed if the texel lookup function is one of the texelFetch
builtin functions.
Otherwise, if the texel lookup function is one of the texture builtin
functions or one of the texture gather functions, the conversion of sRGB
color space components to linear color space is controlled by the
TEXTURE_SRGB_DECODE_EXT parameter.
If the TEXTURE_SRGB_DECODE_EXT parameter is DECODE_EXT, the conversion
of sRGB color space components to linear color space is performed.
If the TEXTURE_SRGB_DECODE_EXT parameter is SKIP_DECODE_EXT, the value
is returned without decoding. However, if the texture is also accessed
with a texelFetch function, then the result of texture builtin functions
and/or texture gather functions may be returned with decoding or without
decoding."
Referenced Bugs:
https://bugs.freedesktop.org/show_bug.cgi?id=94448
[Bug 94448] double Everything's Quality, Please! (Fix all the dEQP bugs!)
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20170411/83d00b9a/attachment-0001.html>
More information about the intel-3d-bugs
mailing list