r600: refactor texture resource words setup code.
authorDave Airlie <airlied@redhat.com>
Thu, 31 Mar 2016 05:24:47 +0000 (15:24 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 15 Mar 2017 04:33:06 +0000 (14:33 +1000)
commit0cf717821e7880d06bcd5755e5f9abe91ffae29e
tree2da5974d1632c32080fb80b04a86ef5477e92f92
parent95a976b651b4e7cfd906a555bc7703ccb2c09ea0
r600: refactor texture resource words setup code.

This refactors out the code to setup a texture resource
so we can reuse it later from the images code.

Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/evergreen_state.c