From 5033d49d5d04efd01f9f4957e3b3dce0250908ad Mon Sep 17 00:00:00 2001 From: Tim Rowley Date: Tue, 12 Sep 2017 15:11:07 -0500 Subject: [PATCH] swr/rast: Properly sized null GS buffer Reviewed-by: Bruce Cherniak --- src/gallium/drivers/swr/rasterizer/core/frontend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.30.2