diff options
author | Grazvydas Ignotas <[email protected]> | 2017-04-14 23:59:28 +0300 |
---|---|---|
committer | Grazvydas Ignotas <[email protected]> | 2017-04-17 21:21:35 +0300 |
commit | ba6c451390fe3bb533e244dfb3c2f2014c588575 (patch) | |
tree | 371945ed829f7105442e61444d173ece88f4d081 | |
parent | d4601b0efc7f5e24e3f39fefa8e29e79560245ce (diff) |
radv: enable timestampComputeAndGraphics
Commit bfee9866 "radv: Use RELEASE_MEM packet for MEC timestamp query."
added WriteTimestamp handling for compute queues but forgot to flip
the flag.
Tested with DOOM (by me) and CTS (by Bas), but without verification
that these tests actually use timestamps on compute queues.
Signed-off-by: Grazvydas Ignotas <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
-rw-r--r-- | src/amd/vulkan/radv_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 12040a04eb9..dd401f4b0be 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -652,7 +652,7 @@ void radv_GetPhysicalDeviceProperties( .sampledImageStencilSampleCounts = sample_counts, .storageImageSampleCounts = VK_SAMPLE_COUNT_1_BIT, .maxSampleMaskWords = 1, - .timestampComputeAndGraphics = false, + .timestampComputeAndGraphics = true, .timestampPeriod = 1000000.0 / pdevice->rad_info.clock_crystal_freq, .maxClipDistances = 8, .maxCullDistances = 8, |