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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user