summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-08-04 23:19:12 -0700
committerKenneth Graunke <[email protected]>2019-02-21 10:26:08 -0800
commitd93a20e2584b874a7657acf82311acbd3dea835f (patch)
tree330a30975dda1b9a23ff373e2b52342210edb51e /src
parent7972599eab442f5692d0a0496a8ebb5ea4df0ddf (diff)
iris: allow S8 as a stencil format
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/iris/iris_formats.c3
1 files changed, 2 insertions, 1 deletions
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)