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:

committed by
Marge Bot

parent
55a4a6b8dc
commit
721f33cd0f
@@ -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;
|
||||
|
Reference in New Issue
Block a user