summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv30/nv30_fragprog.c
diff options
context:
space:
mode:
authorRoy Spliet <[email protected]>2012-05-22 15:14:26 +0200
committerChristoph Bumiller <[email protected]>2012-05-25 22:42:54 +0200
commit6404095fbab74a6194081374bd56786d07c5d561 (patch)
treefca4186064e6fff5f27fb7ac2aa1d3c48a621264 /src/gallium/drivers/nv30/nv30_fragprog.c
parent384ef28cb376eb53c43167f0e8f0f7c3fec7d288 (diff)
nv30: Fix generic passing to fragment program in NV34.
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_fragprog.c')
-rw-r--r--src/gallium/drivers/nv30/nv30_fragprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv30/nv30_fragprog.c b/src/gallium/drivers/nv30/nv30_fragprog.c
index 865c8283add..cfaafd5ded5 100644
--- a/src/gallium/drivers/nv30/nv30_fragprog.c
+++ b/src/gallium/drivers/nv30/nv30_fragprog.c
@@ -117,7 +117,7 @@ nv30_fragprog_validate(struct nv30_context *nv30)
BEGIN_NV04(push, NV30_3D(FP_REG_CONTROL), 1);
PUSH_DATA (push, 0x00010004);
BEGIN_NV04(push, NV30_3D(TEX_UNITS_ENABLE), 1);
- PUSH_DATA (push, fp->samplers);
+ PUSH_DATA (push, fp->texcoords);
} else {
BEGIN_NV04(push, SUBC_3D(0x0b40), 1);
PUSH_DATA (push, 0x00000000);