mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 19:30:11 +01:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue