mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 13:20:14 +01:00
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 <bruce.cherniak@intel.com>
This commit is contained in:
parent
b3b0f0e0ec
commit
70f0a28b83
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ INLINE void ProcessAttributes(
|
||||||
// Conservative Rasterization requires degenerate tris to have constant attribute interpolation
|
// Conservative Rasterization requires degenerate tris to have constant attribute interpolation
|
||||||
uint32_t constantInterpMask = IsDegenerate::value ? 0xFFFFFFFF : backendState.constantInterpolationMask;
|
uint32_t constantInterpMask = IsDegenerate::value ? 0xFFFFFFFF : backendState.constantInterpolationMask;
|
||||||
const uint32_t provokingVertex = pDC->pState->state.frontendState.topologyProvokingVertex;
|
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] = {
|
static const float constTable[3][4] = {
|
||||||
{ 0.0f, 0.0f, 0.0f, 0.0f },
|
{ 0.0f, 0.0f, 0.0f, 0.0f },
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue