summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2017-09-12 15:11:07 -0500
committerTim Rowley <[email protected]>2017-09-25 13:38:57 -0500
commit5033d49d5d04efd01f9f4957e3b3dce0250908ad (patch)
tree255022a33ba1e63bf208d7ead52483309b0d34a6 /src/gallium/drivers
parent9c82cf0f1e2b0496d135dc35dbb512e67b4e23f5 (diff)
swr/rast: Properly sized null GS buffer
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/swr/rasterizer/core/frontend.cpp2
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 15bc93db630..22a5705c480 100644
--- a/src/gallium/drivers/swr/rasterizer/core/frontend.cpp
+++ b/src/gallium/drivers/swr/rasterizer/core/frontend.cpp
@@ -798,7 +798,7 @@ static void GeometryShaderStage(
const SWR_GS_STATE* pState = &state.gsState;
SWR_GS_CONTEXT gsContext;
- static uint8_t sNullBuffer[1024] = { 0 };
+ static uint8_t sNullBuffer[128] = { 0 };
for (uint32_t i = 0; i < KNOB_SIMD_WIDTH; ++i)
{