radeonsi: load fmask ptr relative to the resources array
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 19 Sep 2015 20:19:26 +0000 (16:19 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 21 Sep 2015 12:30:51 +0000 (08:30 -0400)
commit7d5162bdc0850c80f4b9427a2aac6b42c7dcceaa
tree454a20ab0cfc8fd8b71c30767bb758fb531e1996
parent5d23ce2f15bda866990750b49d7860144dff2e68
radeonsi: load fmask ptr relative to the resources array

res_ptr already contains the resource values. fmask_ptr needs to be
looked up relative to the start of the resource params.

Note that this only affects indirect loads of MS sampler arrays.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Cc: "11.0" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/radeonsi/si_shader.c