intel: intel_texture_drawpixels() can't handle GL_DEPTH_STENCIL.
authorMichel Dänzer <daenzer@vmware.com>
Thu, 11 Jun 2009 10:09:10 +0000 (12:09 +0200)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 22 Jun 2009 22:15:20 +0000 (15:15 -0700)
Fixes glean depthStencil test.
(cherry picked from commit 3885b708fdbb7bbd5dd3a247c41fb9a75ee7c057)

src/mesa/drivers/dri/intel/intel_pixel_draw.c

index 225c5f48a55d99c747a0264cdde38026b0c84788..d80069dd58608b3cf0d422b4c309c795ac2da3fd 100644 (file)
@@ -97,7 +97,7 @@ intel_texture_drawpixels(GLcontext * ctx,
    /* We don't have a way to generate fragments with stencil values which
     * will set the resulting stencil value.
     */
-   if (format == GL_STENCIL_INDEX)
+   if (format == GL_STENCIL_INDEX || format == GL_DEPTH_STENCIL)
       return GL_FALSE;
 
    /* Check that we can load in a texture this big. */