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 <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10025>
This commit is contained in:
parent
b89359fb92
commit
9490c1ca92
|
@ -450,6 +450,7 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
case PIPE_CAP_TGSI_VS_LAYER_VIEWPORT:
|
case PIPE_CAP_TGSI_VS_LAYER_VIEWPORT:
|
||||||
|
case PIPE_CAP_TGSI_TES_LAYER_VIEWPORT:
|
||||||
return screen->info.have_EXT_shader_viewport_index_layer ||
|
return screen->info.have_EXT_shader_viewport_index_layer ||
|
||||||
(screen->info.feats12.shaderOutputLayer &&
|
(screen->info.feats12.shaderOutputLayer &&
|
||||||
screen->info.feats12.shaderOutputViewportIndex);
|
screen->info.feats12.shaderOutputViewportIndex);
|
||||||
|
|
Loading…
Reference in New Issue