radv: Track scratch usage across pipelines & command buffers.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 29 Jan 2017 14:20:03 +0000 (15:20 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 30 Jan 2017 01:07:16 +0000 (02:07 +0100)
commitccff93e1387d31243a9c5aede27fbfbe35a03957
tree028327c396882005531b76e7a0a1f5a06ddc456b
parent29c1f67e9f166da4393493d213ee06498aecac51
radv: Track scratch usage across pipelines & command buffers.

Based on code written by Dave Airlie.

Signed-off-by: Bas Nieuwenhuizen <basni@oogle.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_private.h