nv50: fix setting of texture ms info to be per-stage
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 10 May 2014 03:13:38 +0000 (23:13 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 11 May 2014 23:26:31 +0000 (19:26 -0400)
commit863573b9cbeb26722fe7bdfbcc4ca6bffdc7dbf6
tree5fdb7c83606d133e794f71bda254a460813f79b8
parent68f47cad0d23281309741cc47eeaa26ebbb41bca
nv50: fix setting of texture ms info to be per-stage

Different textures may be bound to each slot for each stage. So we need
to be able to upload ms parameters for each one without stages
overwriting each other.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
Cc: "10.1 10.2" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nv50.cpp
src/gallium/drivers/nouveau/nv50/nv50_context.h
src/gallium/drivers/nouveau/nv50/nv50_tex.c