diff options
author | Samuel Pitoiset <[email protected]> | 2020-01-14 09:14:07 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2020-01-29 17:40:46 +0100 |
commit | 3c1f657f35ca9ba0381164e4914a18907ff2cf3b (patch) | |
tree | 5b106be5d1c5b6bda33c99cf8bbf717083e824f3 /src/amd/vulkan/radv_private.h | |
parent | ca6a22305b275b49fbc88b8f4cba2fefb24c2a5d (diff) |
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 <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3380>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 03e91cbb0e7..4494d595074 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -721,6 +721,7 @@ struct radv_queue { uint32_t gsvs_ring_size; bool has_tess_rings; bool has_gds; + bool has_gds_oa; bool has_sample_positions; struct radeon_winsys_bo *scratch_bo; @@ -1333,6 +1334,7 @@ struct radv_cmd_buffer { uint32_t gsvs_ring_size_needed; bool tess_rings_needed; bool gds_needed; /* for GFX10 streamout */ + bool gds_oa_needed; /* for GFX10 streamout */ bool sample_positions_needed; VkResult record_result; |