diff options
author | Dave Airlie <airlied@redhat.com> | 2020-03-27 11:33:43 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2020-04-15 14:26:29 +1000 |
commit | 381e9fe64a80d98144a4ad75044edd9b878c7de7 (patch) | |
tree | 8037142f5a15d5419630c9d6fd25f1bf39d13283 /src/gallium/auxiliary/Makefile.sources | |
parent | 30ef6f5137a5a6e9c0b08640a44e30e1aba14270 (diff) | |
download | mesa-381e9fe64a80d98144a4ad75044edd9b878c7de7.tar.gz |
draw: fix user culling pipeline order. (v2)
GL spec requires user culling, then clipping then face culling.
llvmpipe was doing clipping then user culling then face culling.
Fix the ordering by adding a new user_cull stage that does the user
culling
Fixes piglit clip_cull-4.shader_test
v2: simplify this a lot (Roland)
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4560>
Diffstat (limited to 'src/gallium/auxiliary/Makefile.sources')
-rw-r--r-- | src/gallium/auxiliary/Makefile.sources | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/Makefile.sources b/src/gallium/auxiliary/Makefile.sources index b79dc1d5958..77ec768b5c3 100644 --- a/src/gallium/auxiliary/Makefile.sources +++ b/src/gallium/auxiliary/Makefile.sources @@ -26,6 +26,7 @@ C_SOURCES := \ draw/draw_pipe_stipple.c \ draw/draw_pipe_twoside.c \ draw/draw_pipe_unfilled.c \ + draw/draw_pipe_user_cull.c \ draw/draw_pipe_util.c \ draw/draw_pipe_validate.c \ draw/draw_pipe_vbuf.c \ |