From: Erik Faye-Lund Date: Thu, 30 Jan 2020 21:23:39 +0000 (+0100) Subject: zink: enable cull-distance if supported X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9bf2f4d4113749c585a73bab186e39cc1d062a40;p=mesa.git 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: --- 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;