summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_device.c
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2019-03-19 02:30:33 +0100
committerBas Nieuwenhuizen <[email protected]>2019-03-20 21:19:46 +0000
commit5f5ac19f138125b04d8ddedd6334b996f8925a4a (patch)
tree010d1008e6e499629ebcde5dc6d3d5cfeb0d6455 /src/amd/vulkan/radv_device.c
parent72e366b4c21950de1d37a84ac8e773011680c773 (diff)
radv: Implement VK_EXT_pipeline_creation_feedback.
Does what it says on the tin. The per stage time is only an approximation due to linking and the Vega merged stages. Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_device.c')
-rw-r--r--src/amd/vulkan/radv_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index dc4346b7498..52c688315a7 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -3647,7 +3647,7 @@ void radv_DestroyFence(
}
-static uint64_t radv_get_current_time()
+uint64_t radv_get_current_time(void)
{
struct timespec tv;
clock_gettime(CLOCK_MONOTONIC, &tv);