From 1fa812d84aa4dcb03f3e64fd46abe5b02ac985d1 Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Sun, 12 Sep 2010 11:37:45 +0200 Subject: 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 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gallium/drivers/nv50/nv50_program.h b/src/gallium/drivers/nv50/nv50_program.h index a1b2bde97b..d8b6e8d6d1 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 */ -- cgit v1.2.3