radv: refactor color surface init before gfx9.
authorDave Airlie <airlied@redhat.com>
Mon, 5 Jun 2017 01:05:59 +0000 (02:05 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 5 Jun 2017 22:22:38 +0000 (08:22 +1000)
commita5d181f60be30b430dbb8f1e4dd8f9bedaa6c201
tree17766a9fb50840472f3f7d1ddb3e5c3911c21d7d
parentd3ab239099e526d8350bcb3ce2746ce18b965ab9
radv: refactor color surface init before gfx9.

This just moves the code around in preparation for gfx9 support.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c