[Mesa-dev] [PATCH 12/12] llvmpipe: Enable already implemented cull_distance

Dave Airlie airlied at gmail.com
Mon Apr 4 02:15:38 UTC 2016


From: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de>

Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de>
---
 src/gallium/drivers/llvmpipe/lp_screen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
index 4665487..eb00e7c 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -321,7 +321,7 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
    case PIPE_CAP_PCI_FUNCTION:
       return 0;
    case PIPE_CAP_CULL_DISTANCE:
-      return 0;
+      return 1;
    }
    /* should only get here on unhandled cases */
    debug_printf("Unexpected PIPE_CAP %d query\n", param);
-- 
2.5.0



More information about the mesa-dev mailing list