gm107/ir: take relative pfetch offset into account
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 26 Sep 2014 04:18:38 +0000 (00:18 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 26 Sep 2014 05:13:06 +0000 (01:13 -0400)
commita5bbfeda977a62aa3349f0c7d04c5c20156c1faf
treee57f9dac5c5dcc9fbf0c6804ad0770d899992af5
parent4a38b154fd02061d8989f8973fbc10740300bf8b
gm107/ir: take relative pfetch offset into account

There is no dedicated instruction for this, so just combine it with the
constant offset.

Acked-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.3" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_gm107.cpp