Mesa (nv50-compiler): nv50: match TEMP limit with nv50 ir builder

Christoph Bumiller chrisbmr at kemper.freedesktop.org
Sun Sep 12 09:42:09 UTC 2010


Module: Mesa
Branch: nv50-compiler
Commit: 1fa812d84aa4dcb03f3e64fd46abe5b02ac985d1
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1fa812d84aa4dcb03f3e64fd46abe5b02ac985d1

Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sun Sep 12 11:37:45 2010 +0200

nv50: match TEMP limit with nv50 ir builder

Mesa doesn't respect it anyway, but this makes it assert rather
than threads access areas of l[] that don't belong to them.

---

 src/gallium/drivers/nv50/nv50_program.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/nv50/nv50_program.h b/src/gallium/drivers/nv50/nv50_program.h
index a1b2bde..d8b6e8d 100644
--- a/src/gallium/drivers/nv50/nv50_program.h
+++ b/src/gallium/drivers/nv50/nv50_program.h
@@ -27,7 +27,7 @@
 #include "tgsi/tgsi_scan.h"
 #include "nouveau/nouveau_class.h"
 
-#define NV50_CAP_MAX_PROGRAM_TEMPS (128 / 4)
+#define NV50_CAP_MAX_PROGRAM_TEMPS 64
 
 struct nv50_varying {
    uint8_t id; /* tgsi index */




More information about the mesa-commit mailing list