summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2010-09-12 11:37:45 +0200
committerChristoph Bumiller <[email protected]>2010-09-12 11:41:57 +0200
commit1fa812d84aa4dcb03f3e64fd46abe5b02ac985d1 (patch)
tree8871a2666c7de8ef6d66fbcf78e8d14ae5235640 /src/gallium/drivers/nv50
parentfdb00ac1efc7c12aeed1a7e705c5a5dd258b7d54 (diff)
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.
Diffstat (limited to 'src/gallium/drivers/nv50')
-rw-r--r--src/gallium/drivers/nv50/nv50_program.h2
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 a1b2bde97bf..d8b6e8d6d14 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 */