diff options
author | Bas Nieuwenhuizen <[email protected]> | 2017-04-10 22:20:19 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2017-04-11 09:33:17 +0200 |
commit | 8475a14302eaf0ff3c6a6c37dd87471a8ab73d84 (patch) | |
tree | 83e8dc5d62b7a8215a26170471a2ea9ace98114c /src/amd/vulkan/radv_private.h | |
parent | d2906bc72db6ce33c1f7af5f7f015a4cdfef0862 (diff) |
radv: Implement pipeline statistics queries.
The devil is in the shader again, otherwise this is
fairly straightforward.
The CTS contains no pipeline statistics copy to buffer
testcases, so I did a basic smoketest.
Signed-off-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
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 b54a2537c8a..2cb8cdd8d84 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -443,6 +443,7 @@ struct radv_meta_state { VkDescriptorSetLayout ds_layout; VkPipelineLayout p_layout; VkPipeline occlusion_query_pipeline; + VkPipeline pipeline_statistics_query_pipeline; } query; }; @@ -1379,6 +1380,7 @@ struct radv_query_pool { uint32_t availability_offset; char *ptr; VkQueryType type; + uint32_t pipeline_stats_mask; }; VkResult |