r600_shader: only load from LDS what is really used
authorGert Wollny <gw.fossdev@gmail.com>
Wed, 15 Nov 2017 09:29:12 +0000 (10:29 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 29 Nov 2017 03:08:29 +0000 (13:08 +1000)
commit76837e29e3cb325eecd88bb0b8f9df9d70caf7de
tree8ab1b7927a311e1c3d3b1b0c15e40d7d0f871428
parent579ec9c311eb5176054b624f39c5c024605b58d6
r600_shader: only load from LDS what is really used

Use the destination write mask to determine which values are really to be
read from LDS and load only these.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Gert Wollny <gw.fossdev@gmail.com>
src/gallium/drivers/r600/r600_shader.c