From 9bf2f4d4113749c585a73bab186e39cc1d062a40 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Thu, 30 Jan 2020 22:23:39 +0100 Subject: [PATCH] zink: enable cull-distance if supported This is already implemented, and we just need to flip the switch to turn it on. Reviewed-By: Mike Blumenkrantz Part-of: --- src/gallium/drivers/zink/zink_screen.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c index 5cb02587526..fee0765bdfd 100644 --- a/src/gallium/drivers/zink/zink_screen.c +++ b/src/gallium/drivers/zink/zink_screen.c @@ -270,10 +270,8 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_PCI_FUNCTION: return 0; /* TODO: figure these out */ -#if 0 /* TODO: Enable me */ case PIPE_CAP_CULL_DISTANCE: return screen->feats.shaderCullDistance; -#endif case PIPE_CAP_VIEWPORT_SUBPIXEL_BITS: return screen->props.limits.viewportSubPixelBits; -- 2.30.2