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