zink: expose depth-clip if supported
We already set up the state as needed, so it should only be a matter of exposing it. Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5495>
This commit is contained in:
committed by
Marge Bot
parent
ffb8020f6e
commit
44da0f067c
@@ -148,10 +148,8 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
||||
case PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS:
|
||||
return screen->props.limits.maxImageArrayLayers;
|
||||
|
||||
#if 0 /* TODO: Enable me */
|
||||
case PIPE_CAP_DEPTH_CLIP_DISABLE:
|
||||
return 0;
|
||||
#endif
|
||||
return screen->feats.depthClamp;
|
||||
|
||||
case PIPE_CAP_TGSI_INSTANCEID:
|
||||
case PIPE_CAP_MIXED_COLORBUFFER_FORMATS:
|
||||
|
||||
Reference in New Issue
Block a user