From: Kenneth Graunke Date: Sun, 5 Aug 2018 06:19:12 +0000 (-0700) Subject: iris: allow S8 as a stencil format X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d93a20e2584b874a7657acf82311acbd3dea835f;p=mesa.git iris: allow S8 as a stencil format --- diff --git a/src/gallium/drivers/iris/iris_formats.c b/src/gallium/drivers/iris/iris_formats.c index 38b44be515c..ee5e0bd0979 100644 --- a/src/gallium/drivers/iris/iris_formats.c +++ b/src/gallium/drivers/iris/iris_formats.c @@ -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)