summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/zink/zink_screen.c
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2019-07-22 13:24:14 +0200
committerErik Faye-Lund <[email protected]>2019-10-28 08:51:48 +0000
commit1f3d2b9f801dc6cd5c58bba5c6b9d0bbe5e302d2 (patch)
treec3bf08d25c004800d0cd2497fa187cd734a15dd5 /src/gallium/drivers/zink/zink_screen.c
parenta046957a79c78ecdcfe1db844bde28bf9862ccbf (diff)
zink/spirv: implement load_front_face
We're now adding interface-types during code-emitting, so we need to defer emitting the entry-point. No biggie, spirv_builder is prepares for this. Acked-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/zink/zink_screen.c')
-rw-r--r--src/gallium/drivers/zink/zink_screen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c
index f1b4d89f1fa..f1a19a10431 100644
--- a/src/gallium/drivers/zink/zink_screen.c
+++ b/src/gallium/drivers/zink/zink_screen.c
@@ -289,6 +289,9 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_NIR_COMPACT_ARRAYS:
return 1;
+ case PIPE_CAP_TGSI_FS_FACE_IS_INTEGER_SYSVAL:
+ return 1;
+
case PIPE_CAP_FLATSHADE:
case PIPE_CAP_ALPHA_TEST:
case PIPE_CAP_CLIP_PLANES: