radv/gfx10: add a separate flag for creating a GDS OA buffer
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 14 Jan 2020 08:14:07 +0000 (09:14 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 29 Jan 2020 16:40:46 +0000 (17:40 +0100)
commit3c1f657f35ca9ba0381164e4914a18907ff2cf3b
tree5b106be5d1c5b6bda33c99cf8bbf717083e824f3
parentca6a22305b275b49fbc88b8f4cba2fefb24c2a5d
radv/gfx10: add a separate flag for creating a GDS OA buffer

For implementing NGG GS queries, we decided to use GDS but GDS OA
is only required for NGG streamout.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3380>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_private.h