nvc0: fix address offset when images have multiple levels
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 9 Apr 2016 18:31:45 +0000 (20:31 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 26 Apr 2016 17:47:49 +0000 (19:47 +0200)
commit285f2edd14f82538d27f4df76055a3f154da3b29
tree232e4b82ff40dee822910bc3e386f3dd88ce56a4
parente28f247e249946d8c311b359d83ce34fd29e4a67
nvc0: fix address offset when images have multiple levels

This fixes arb_shader_image_load_store-level.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nvc0_tex.c