summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2012-05-18 16:17:44 +0200
committerChristoph Bumiller <[email protected]>2013-03-12 12:55:34 +0100
commitc82714c593ac38ea87e061b92d10b34853784723 (patch)
tree14cd9afd68272af0b08eb6551fbe311732604a6c /src/gallium/drivers/nvc0
parentcc30ce8160a9ed4d2ed1a024c659d5cd1ec27ee2 (diff)
nv50/ir: Rename "mkLoad" to "mkLoadv" for consistency.
Diffstat (limited to 'src/gallium/drivers/nvc0')
-rw-r--r--src/gallium/drivers/nvc0/codegen/nv50_ir_lowering_nvc0.cpp4
1 files changed, 2 insertions, 2 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 c5a7772ed9f..9cea061d06b 100644
--- a/src/gallium/drivers/nvc0/codegen/nv50_ir_lowering_nvc0.cpp
+++ b/src/gallium/drivers/nvc0/codegen/nv50_ir_lowering_nvc0.cpp
@@ -673,7 +673,7 @@ NVC0LoweringPass::handleTEX(TexInstruction *i)
tmp[0] = bld.getScratch();
bind = bld.mkSymbol(FILE_MEMORY_CONST, 15, TYPE_U32, i->tex.r * 4);
bld.mkOp2(OP_SHL, TYPE_U32, tmp[0], rRel, shCnt);
- tmp[1] = bld.mkLoad(TYPE_U32, bind, tmp[0]);
+ tmp[1] = bld.mkLoadv(TYPE_U32, bind, tmp[0]);
bld.mkOp2(OP_AND, TYPE_U32, tmp[0], tmp[1],
bld.loadImm(tmp[0], 0x00ffffffu));
rRel = tmp[0];
@@ -683,7 +683,7 @@ NVC0LoweringPass::handleTEX(TexInstruction *i)
tmp[0] = bld.getScratch();
bind = bld.mkSymbol(FILE_MEMORY_CONST, 15, TYPE_U32, i->tex.s * 4);
bld.mkOp2(OP_SHL, TYPE_U32, tmp[0], sRel, shCnt);
- tmp[1] = bld.mkLoad(TYPE_U32, bind, tmp[0]);
+ tmp[1] = bld.mkLoadv(TYPE_U32, bind, tmp[0]);
bld.mkOp2(OP_AND, TYPE_U32, tmp[0], tmp[1],
bld.loadImm(tmp[0], 0xff000000u));
sRel = tmp[0];