Module: Mesa
Branch: master
Commit: 5033d49d5d04efd01f9f4957e3b3dce0250908ad
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5033d49d5d04efd01f9f4957e3b3dce0250908ad

Author: Tim Rowley <[email protected]>
Date:   Tue Sep 12 15:11:07 2017 -0500

swr/rast: Properly sized null GS buffer

Reviewed-by: Bruce Cherniak <[email protected]>

---

 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 15bc93db63..22a5705c48 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)
     {

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to