zink: export PIPE_CAP_TGSI_VS_LAYER_VIEWPORT

Acked-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9283>
This commit is contained in:
Mike Blumenkrantz 2020-12-14 11:41:26 -05:00
parent ffd046cf32
commit c77df59c9e

View file

@ -412,6 +412,10 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_SAMPLER_VIEW_TARGET:
return 1;
case PIPE_CAP_TGSI_VS_LAYER_VIEWPORT:
return screen->info.feats12.shaderOutputLayer &&
screen->info.feats12.shaderOutputViewportIndex;
case PIPE_CAP_TEXTURE_FLOAT_LINEAR:
case PIPE_CAP_TEXTURE_HALF_FLOAT_LINEAR:
return 1;