intel: intel_texture_drawpixels() can't handle GL_DEPTH_STENCIL.
Fixes glean depthStencil test.
(cherry picked from commit 3885b708fd
)
This commit is contained in:

committed by
Ian Romanick

parent
19218fe712
commit
0584b6e433
@@ -97,7 +97,7 @@ intel_texture_drawpixels(GLcontext * ctx,
|
|||||||
/* We don't have a way to generate fragments with stencil values which
|
/* We don't have a way to generate fragments with stencil values which
|
||||||
* will set the resulting stencil value.
|
* will set the resulting stencil value.
|
||||||
*/
|
*/
|
||||||
if (format == GL_STENCIL_INDEX)
|
if (format == GL_STENCIL_INDEX || format == GL_DEPTH_STENCIL)
|
||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
|
|
||||||
/* Check that we can load in a texture this big. */
|
/* Check that we can load in a texture this big. */
|
||||||
|
Reference in New Issue
Block a user