From 3fc2818f2b9e8a19e5349442e50dcee4858452c6 Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Wed, 12 Oct 2011 20:44:53 +0200 Subject: [PATCH] nvc0/ir: fix xy confusion typo in readTessCoord --- src/gallium/drivers/nvc0/codegen/nv50_ir_lowering_nvc0.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2