From 9490c1ca926ced81a47f1881e1bc78cea55f918a Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Sun, 4 Apr 2021 09:20:03 -0400 Subject: [PATCH] zink: enable PIPE_CAP_TGSI_TES_LAYER_VIEWPORT should've done this when PIPE_CAP_TGSI_VS_LAYER_VIEWPORT was enabled Reviewed-by: Dave Airlie Part-of: --- src/gallium/drivers/zink/zink_screen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c index 79ceaaeea53..529ace85779 100644 --- a/src/gallium/drivers/zink/zink_screen.c +++ b/src/gallium/drivers/zink/zink_screen.c @@ -450,6 +450,7 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return 1; case PIPE_CAP_TGSI_VS_LAYER_VIEWPORT: + case PIPE_CAP_TGSI_TES_LAYER_VIEWPORT: return screen->info.have_EXT_shader_viewport_index_layer || (screen->info.feats12.shaderOutputLayer && screen->info.feats12.shaderOutputViewportIndex);