From: Christoph Bumiller Date: Sun, 12 Sep 2010 09:37:45 +0000 (+0200) Subject: nv50: match TEMP limit with nv50 ir builder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1fa812d84aa4dcb03f3e64fd46abe5b02ac985d1;p=mesa.git 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. --- 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 */