swr/rast: Properly sized null GS buffer
authorTim Rowley <timothy.o.rowley@intel.com>
Tue, 12 Sep 2017 20:11:07 +0000 (15:11 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Mon, 25 Sep 2017 18:38:57 +0000 (13:38 -0500)
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/core/frontend.cpp

index 15bc93db630eb5d61ae8963ac2c8c1967f0402ea..22a5705c480e8af6d528a7262ce1f30cee7be154 100644 (file)
@@ -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)
     {