r600/images: set offset for compute shaders with number of declared samplers
authorDave Airlie <airlied@redhat.com>
Fri, 2 Feb 2018 07:07:20 +0000 (17:07 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 6 Feb 2018 20:08:12 +0000 (06:08 +1000)
commitc9c4f0b7226b1838c797f9257389c5284be401d9
treefbf670bb0376ee9e1e6f9f1f1b2542b921b358ad
parentab5cee4c241cb360cf67101dd751e0f38637b526
r600/images: set offset for compute shaders with number of declared samplers

for frag shaders we get a value in the key, I expect I need
to make compute work better

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_shader.c