From d93a20e2584b874a7657acf82311acbd3dea835f Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sat, 4 Aug 2018 23:19:12 -0700 Subject: iris: allow S8 as a stencil format --- src/gallium/drivers/iris/iris_formats.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3