[Mesa-dev] [PATCH 5/9] swr/rast: Properly sized null GS buffer
Tim Rowley
timothy.o.rowley at intel.com
Fri Sep 22 00:46:48 UTC 2017
---
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 15bc93d..22a5705 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.7.4
More information about the mesa-dev
mailing list