diff options
author | Tim Rowley <[email protected]> | 2017-06-08 11:48:37 -0500 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2017-06-16 16:20:16 -0500 |
commit | 21baadfe58abe5b7bbedcf59a831993560c73d50 (patch) | |
tree | 8925a8044307c388a6679f4770ac79039e540d66 /src/gallium/drivers | |
parent | 3695c8ec1e9dc5d5a9bd834aad5d3dad0a22b01a (diff) |
swr/rast: Properly size GS stage scratch space
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/core/frontend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/core/frontend.cpp b/src/gallium/drivers/swr/rasterizer/core/frontend.cpp index 902253b1481..c11a35acd40 100644 --- a/src/gallium/drivers/swr/rasterizer/core/frontend.cpp +++ b/src/gallium/drivers/swr/rasterizer/core/frontend.cpp @@ -787,7 +787,7 @@ static void GeometryShaderStage( tlsGsContext.PrimitiveID = primID; uint32_t numVertsPerPrim = NumVertsPerPrim(pa.binTopology, true); - simdvector attrib[MAX_ATTRIBUTES]; + simdvector attrib[MAX_NUM_VERTS_PER_PRIM]; // assemble all attributes for the input primitive for (uint32_t slot = 0; slot < pState->numInputAttribs; ++slot) |