diff options
author | George Kyriazis <[email protected]> | 2018-04-26 16:12:24 -0500 |
---|---|---|
committer | George Kyriazis <[email protected]> | 2018-05-11 11:21:52 -0500 |
commit | 70f0a28b83d9977e106f80cfd033e0796bc43f2f (patch) | |
tree | e62c7d77176f9f26298cd882d483d19a3c10408b /src/gallium/drivers/swr/rasterizer | |
parent | b3b0f0e0ec98d1da42554764adc17402535fa0b7 (diff) |
swr/rast: Use binner topology to assemble backend attributes
Previously was using the draw topology, which may change if GS or Tess
are active. Only affected attributes marked with constant interpolation,
which limited the impact.
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/rasterizer')
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/core/binner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/core/binner.cpp b/src/gallium/drivers/swr/rasterizer/core/binner.cpp index 9f8dc887aa6..7b9c20ef802 100644 --- a/src/gallium/drivers/swr/rasterizer/core/binner.cpp +++ b/src/gallium/drivers/swr/rasterizer/core/binner.cpp @@ -81,7 +81,7 @@ INLINE void ProcessAttributes( // Conservative Rasterization requires degenerate tris to have constant attribute interpolation uint32_t constantInterpMask = IsDegenerate::value ? 0xFFFFFFFF : backendState.constantInterpolationMask; const uint32_t provokingVertex = pDC->pState->state.frontendState.topologyProvokingVertex; - const PRIMITIVE_TOPOLOGY topo = pDC->pState->state.topology; + const PRIMITIVE_TOPOLOGY topo = pa.binTopology; static const float constTable[3][4] = { { 0.0f, 0.0f, 0.0f, 0.0f }, |