iris: allow S8 as a stencil format
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 5 Aug 2018 06:19:12 +0000 (23:19 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:08 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_formats.c

index 38b44be515c233b8d657a75a337f8b985823cf3b..ee5e0bd0979f575b1c3bc4dac6f6bbe486f54c21 100644 (file)
@@ -436,7 +436,8 @@ iris_is_format_supported(struct pipe_screen *pscreen,
       supported &= format == ISL_FORMAT_R32_FLOAT_X8X24_TYPELESS ||
                    format == ISL_FORMAT_R32_FLOAT ||
                    format == ISL_FORMAT_R24_UNORM_X8_TYPELESS ||
-                   format == ISL_FORMAT_R16_UNORM;
+                   format == ISL_FORMAT_R16_UNORM ||
+                   format == ISL_FORMAT_R8_UINT;
    }
 
    if (usage & PIPE_BIND_RENDER_TARGET)