Skip to content

Commit

Permalink
Fix build error on Android/Linux platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
SaschaWillems committed Oct 25, 2023
1 parent b88d691 commit 8fda439
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions VulkanDeviceInfoExtensions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ void VulkanDeviceInfoExtensions::readPhysicalProperties_ARM() {
const char* extension("VK_ARM_scheduling_controls");
VkPhysicalDeviceSchedulingControlsPropertiesARM extProps { VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCHEDULING_CONTROLS_PROPERTIES_ARM };
VkPhysicalDeviceProperties2 deviceProps2(initDeviceProperties2(&extProps));
vulkanContext.vkGetPhysicalDeviceProperties2KHR(device, &deviceProps2);
pushProperty2(extension, "schedulingControlsFlags", QVariant(extProps.schedulingControlsFlags));
vulkanContext.vkGetPhysicalDeviceProperties2KHR(device, &deviceProps2);
pushProperty2(extension, "schedulingControlsFlags", QVariant::fromValue(extProps.schedulingControlsFlags));
}
if (extensionSupported("VK_ARM_shader_core_builtins")) {
const char* extension("VK_ARM_shader_core_builtins");
Expand Down

0 comments on commit 8fda439

Please sign in to comment.