Commit 44da0f06 authored by Erik Faye-Lund 's avatar Erik Faye-Lund Committed by Marge Bot

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's avatarMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <!5495>
parent ffb8020f
Pipeline #173514 waiting for manual action with stages
......@@ -92,7 +92,7 @@ GL 3.2, GLSL 1.50 --- all DONE: i965, nv50, nvc0, r600, radeonsi, llvmpipe, soft
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
......
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment