Mesa (master): turnip: Disable timestamp queries for now.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Nov 27 18:26:11 UTC 2019
Module: Mesa
Branch: master
Commit: 424d5e4e11d16c789cf4a724d6b8aa3d77223ec4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=424d5e4e11d16c789cf4a724d6b8aa3d77223ec4
Author: Eric Anholt <eric at anholt.net>
Date: Tue Nov 26 16:16:05 2019 -0800
turnip: Disable timestamp queries for now.
They're not implemented, and not critical to bring up immediately. Avoids
failures in the CTS when nothing gets written to the query.
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
---
src/freedreno/vulkan/tu_device.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c
index edf38b0a402..7fbec1ba619 100644
--- a/src/freedreno/vulkan/tu_device.c
+++ b/src/freedreno/vulkan/tu_device.c
@@ -809,7 +809,7 @@ tu_GetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice,
.sampledImageStencilSampleCounts = sample_counts,
.storageImageSampleCounts = VK_SAMPLE_COUNT_1_BIT,
.maxSampleMaskWords = 1,
- .timestampComputeAndGraphics = true,
+ .timestampComputeAndGraphics = false, /* FINISHME */
.timestampPeriod = 1,
.maxClipDistances = 8,
.maxCullDistances = 8,
@@ -898,7 +898,7 @@ static const VkQueueFamilyProperties tu_queue_family_properties = {
.queueFlags =
VK_QUEUE_GRAPHICS_BIT | VK_QUEUE_COMPUTE_BIT | VK_QUEUE_TRANSFER_BIT,
.queueCount = 1,
- .timestampValidBits = 64,
+ .timestampValidBits = 0, /* FINISHME */
.minImageTransferGranularity = { 1, 1, 1 },
};
More information about the mesa-commit
mailing list