summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/codegen
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2011-10-12 20:44:53 +0200
committerChristoph Bumiller <[email protected]>2011-10-21 23:00:37 +0200
commit3fc2818f2b9e8a19e5349442e50dcee4858452c6 (patch)
treea5d4ca45c44f41906ab7df72d442a84711f6a5dd /src/gallium/drivers/nvc0/codegen
parentc8ae342bf3efc2c43083ab11f0d52022cffe8ba4 (diff)
nvc0/ir: fix xy confusion typo in readTessCoord
Diffstat (limited to 'src/gallium/drivers/nvc0/codegen')
-rw-r--r--src/gallium/drivers/nvc0/codegen/nv50_ir_lowering_nvc0.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvc0/codegen/nv50_ir_lowering_nvc0.cpp b/src/gallium/drivers/nvc0/codegen/nv50_ir_lowering_nvc0.cpp
index b6a155ca9c8..7e7ae45cc09 100644
--- a/src/gallium/drivers/nvc0/codegen/nv50_ir_lowering_nvc0.cpp
+++ b/src/gallium/drivers/nvc0/codegen/nv50_ir_lowering_nvc0.cpp
@@ -475,7 +475,7 @@ NVC0LoweringPass::readTessCoord(LValue *dst, int c)
if (x)
bld.mkFetch(x, TYPE_F32, FILE_SHADER_OUTPUT, 0x2f0, NULL, laneid);
if (y)
- bld.mkFetch(x, TYPE_F32, FILE_SHADER_OUTPUT, 0x2f4, NULL, laneid);
+ bld.mkFetch(y, TYPE_F32, FILE_SHADER_OUTPUT, 0x2f4, NULL, laneid);
if (c == 2) {
bld.mkOp2(OP_ADD, TYPE_F32, dst, x, y);