aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/features.txt2
-rw-r--r--src/gallium/drivers/zink/zink_screen.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/docs/features.txt b/docs/features.txt
index 33484576455..d788d8549c0 100644
--- a/docs/features.txt
+++ b/docs/features.txt
@@ -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
diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c
index 36c89e68324..3c92e0e066f 100644
--- a/src/gallium/drivers/zink/zink_screen.c
+++ b/src/gallium/drivers/zink/zink_screen.c
@@ -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: