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>
GL_ARB_provoking_vertex (Provoking vertex) DONE (freedreno, v3d)
GL_ARB_seamless_cube_map (Seamless cubemaps) DONE (freedreno, zink)
GL_ARB_texture_multisample (Multisample textures) DONE (freedreno/a5xx+, v3d, zink)
- GL_ARB_depth_clamp (Frag depth clamp) DONE (freedreno)
+ GL_ARB_depth_clamp (Frag depth clamp) DONE (freedreno, zink)
GL_ARB_sync (Fence objects) DONE (freedreno, v3d, zink)
GLX_ARB_create_context_profile DONE
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: