diff options
author | Tim Rowley <[email protected]> | 2016-10-04 13:36:12 -0500 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2016-10-11 11:22:04 -0500 |
commit | e845eeb0be89e3dcc62ae43a03f71336c26c40ed (patch) | |
tree | ff30eb1db293a0830f772598fa9f9edbefa778d9 /src/gallium | |
parent | b3bd8bb611bb465d2e5efddd109cf633bf3cc9b9 (diff) |
swr: [rasterizer core] disable cull for rect_list
Signed-off-by: Tim Rowley <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/core/api.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/core/api.cpp b/src/gallium/drivers/swr/rasterizer/core/api.cpp index 048b9791d6f..2c2810eb26a 100644 --- a/src/gallium/drivers/swr/rasterizer/core/api.cpp +++ b/src/gallium/drivers/swr/rasterizer/core/api.cpp @@ -1108,6 +1108,10 @@ void DrawInstanced( pState->rastState.cullMode = SWR_CULLMODE_NONE; pState->forceFront = true; } + else if (topology == TOP_RECT_LIST) + { + pState->rastState.cullMode = SWR_CULLMODE_NONE; + } int draw = 0; while (remainingVerts) @@ -1243,6 +1247,10 @@ void DrawIndexedInstance( pState->rastState.cullMode = SWR_CULLMODE_NONE; pState->forceFront = true; } + else if (topology == TOP_RECT_LIST) + { + pState->rastState.cullMode = SWR_CULLMODE_NONE; + } while (remainingIndices) { |