nv50/ir: change texture offsets to ValueRefs, allow nonconst
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 26 Apr 2014 06:08:23 +0000 (02:08 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 28 Apr 2014 23:09:18 +0000 (19:09 -0400)
commitf3aa999383074d666d6e3f3506e66b0c937904ca
tree2c71884220504ba390e2bef267cf8ea196f6dc60
parent46364a53ef30e5c97e1eeb5a879dd99a47415b73
nv50/ir: change texture offsets to ValueRefs, allow nonconst

This allows us to have non-constant offsets for textureGatherOffset and
textureGatherOffsets.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir.h
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nv50.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nv50.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp