nv50/ir: check if the target supports the new offset before inlining
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 8 Dec 2015 21:48:06 +0000 (16:48 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 9 Dec 2015 04:15:29 +0000 (23:15 -0500)
commit0f647bd65bae16c7a2dc7a960c96593ad6ab729c
tree6b2ff1aa557c540892c2aecfdba02e172c15c77d
parenta13b14930d94b024160fe17814e091356d07f7fb
nv50/ir: check if the target supports the new offset before inlining

Fixes: abd326e81b (nv50/ir: propagate indirect loads into instructions)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93300
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_target.h
src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.h