From: Christoph Bumiller Date: Wed, 12 Oct 2011 18:44:53 +0000 (+0200) Subject: nvc0/ir: fix xy confusion typo in readTessCoord X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3fc2818f2b9e8a19e5349442e50dcee4858452c6;p=mesa.git nvc0/ir: fix xy confusion typo in readTessCoord --- 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);