Skip to content

Commit a10fc35

Browse files
Vulkan: don't force-disable timestamp, duration and binary occlusion queries
1 parent d9ac53b commit a10fc35

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Graphics/GraphicsEngineVulkan/src/VulkanTypeConversions.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2047,13 +2047,6 @@ DeviceFeatures VkFeaturesToDeviceFeatures(uint32_t
20472047

20482048
#undef INIT_FEATURE
20492049

2050-
// Not supported in Vulkan on top of Metal.
2051-
#if PLATFORM_MACOS || PLATFORM_IOS || PLATFORM_TVOS
2052-
Features.BinaryOcclusionQueries = DEVICE_FEATURE_STATE_DISABLED;
2053-
Features.TimestampQueries = DEVICE_FEATURE_STATE_DISABLED;
2054-
Features.DurationQueries = DEVICE_FEATURE_STATE_DISABLED;
2055-
#endif
2056-
20572050
ASSERT_SIZEOF(DeviceFeatures, 47, "Did you add a new feature to DeviceFeatures? Please handle its status here (if necessary).");
20582051

20592052
return Features;

0 commit comments

Comments
 (0)