softpipe: add missing stencil format case in convert_quad_stencil()
authorBrian Paul <brianp@vmware.com>
Wed, 6 Jul 2011 21:02:58 +0000 (15:02 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 6 Jul 2011 21:14:27 +0000 (15:14 -0600)
Part of the fix for https://bugs.freedesktop.org/show_bug.cgi?id=38729

NOTE: This is a candidate for the 7.11 branch

src/gallium/drivers/softpipe/sp_quad_depth_test.c

index 3127d22..15f3a8f 100644 (file)
@@ -206,6 +206,7 @@ convert_quad_stencil( struct depth_data *data,
    case PIPE_FORMAT_Z24_UNORM_S8_USCALED:
    case PIPE_FORMAT_X8Z24_UNORM:
    case PIPE_FORMAT_S8_USCALED_Z24_UNORM:
+   case PIPE_FORMAT_S8_USCALED:
       for (j = 0; j < QUAD_SIZE; j++) {
          data->shader_stencil_refs[j] = ((unsigned)(quad->output.stencil[j]));
       }