mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 00:20:09 +01:00
zink: fix return for PIPE_CAP_DEPTH_CLIP_DISABLE
this uses the extension now
Fixes: 21ea19d504 ("zink: Always enable depth clamping, make depth clipping independent.")
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17775>
This commit is contained in:
parent
55a4a6b8dc
commit
721f33cd0f
1 changed files with 1 additions and 1 deletions
|
|
@ -591,7 +591,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->info.feats.features.depthClamp;
|
||||
return !screen->driver_workarounds.depth_clip_control_missing;
|
||||
|
||||
case PIPE_CAP_SHADER_STENCIL_EXPORT:
|
||||
return screen->info.have_EXT_shader_stencil_export;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue