mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 12:00:12 +01:00
zink: fix depth-clip disable cap
We use EXT_depth_clip_enable for this, not EXT_depth_clip_control, which
is what depth_clip_control_missing is a proxy for.
Fixes: 721f33cd0f ("zink: fix return for PIPE_CAP_DEPTH_CLIP_DISABLE")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20740>
This commit is contained in:
parent
09a87d2171
commit
c12fed1804
1 changed files with 1 additions and 1 deletions
|
|
@ -722,7 +722,7 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
|||
return screen->info.props.limits.maxImageArrayLayers;
|
||||
|
||||
case PIPE_CAP_DEPTH_CLIP_DISABLE:
|
||||
return !screen->driver_workarounds.depth_clip_control_missing;
|
||||
return screen->info.have_EXT_depth_clip_enable;
|
||||
|
||||
case PIPE_CAP_SHADER_STENCIL_EXPORT:
|
||||
return screen->info.have_EXT_shader_stencil_export;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue