[Mesa-dev] [Bug 99076] dEQP-GLES3.functional.negative_api.texture#teximage3d fails due to wrong Error code
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Dec 14 02:26:00 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=99076
Bug ID: 99076
Summary: dEQP-GLES3.functional.negative_api.texture#teximage3d
fails due to wrong Error code
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Mesa core
Assignee: mesa-dev at lists.freedesktop.org
Reporter: randy.xu at intel.com
QA Contact: mesa-dev at lists.freedesktop.org
<Section Name="" Description="GL_INVALID_OPERATION is generated if target is
GL_TEXTURE_3D and format is GL_DEPTH_COMPONENT, or GL_DEPTH_STENCIL.">
<Text>glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 1, 1, 1, 0, GL_DEPTH_STENCIL,
GL_UNSIGNED_BYTE, 0);</Text>
<Text>glGetError();</Text>
<Text>// GL_INVALID_ENUM returned</Text>
<Text>// ERROR: expected GL_INVALID_OPERATION</Text>
<Text>glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 1, 1, 1, 0, GL_DEPTH_COMPONENT,
GL_UNSIGNED_BYTE, 0);</Text>
<Text>glGetError();</Text>
<Text>// GL_INVALID_OPERATION returned</Text>
/* From OpenGL 3.3 spec, page 220:
"If the format is DEPTH_STENCIL, then values are taken from
both the depth buffer and the stencil buffer. If there is no
depth buffer or if there is no stencil buffer, then the error
INVALID_OPERATION occurs. If the type parameter is not
UNSIGNED_INT_24_8 or FLOAT_32_UNSIGNED_INT_24_8_REV, then the
error INVALID_ENUM occurs."
*
OpenGL ES still generates GL_INVALID_OPERATION because glReadPixels
cannot be used to read depth or stencil in that API.
*/
Mesa master: da3389a331b07d3e58aa9ad8df6864cc04f877e4
dEQP master: b28ca98dd64d74475f78ac4b19309fc41076d26e
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161214/c085963a/attachment-0001.html>
More information about the mesa-dev
mailing list