nvc0: fix up image support for allowing multiple samples
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 29 Jun 2016 04:08:01 +0000 (00:08 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 2 Jul 2016 03:01:02 +0000 (23:01 -0400)
commitb2b5075e04bbe6c6462fd01711524abd80380f45
treea9bd6817f9b9c7ab76009cd1222c6041c7e8385a
parent07cc838b105dd3f34526db73064f1f21b452240e
nvc0: fix up image support for allowing multiple samples

Basically we just have to scale up the coordinates and then add the
relevant sample offset. The code to handle this was already largely
present from Christoph's earlier attempts to pipe images through back in
the dark ages, this just hooks it all up.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
src/gallium/drivers/nouveau/nvc0/nvc0_compute.c
src/gallium/drivers/nouveau/nvc0/nvc0_context.h
src/gallium/drivers/nouveau/nvc0/nvc0_program.c
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
src/gallium/drivers/nouveau/nvc0/nvc0_tex.c