diff options
author | Erik Faye-Lund <[email protected]> | 2020-01-30 22:23:39 +0100 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-06-16 09:14:56 +0000 |
commit | 9bf2f4d4113749c585a73bab186e39cc1d062a40 (patch) | |
tree | 592de54bc36ee71e21ae580c6ee47b3e4ec5cf11 /src | |
parent | a3d07c4a35fde31fede3b39d4771d6023b65ecc1 (diff) |
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 <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5479>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/zink/zink_screen.c | 2 |
1 files changed, 0 insertions, 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; |