Skip to content

Commit

Permalink
Updated to Vulkan headers 1.3.299
Browse files Browse the repository at this point in the history
Adds support for:
- VK_EXT_present_mode_fifo_latest_ready
  • Loading branch information
SaschaWillems committed Oct 19, 2024
1 parent 8f763d9 commit 74cfa97
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
12 changes: 12 additions & 0 deletions VulkanDeviceInfoExtensions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ void VulkanDeviceInfoExtensions::readPhysicalProperties_AMDX() {
pushProperty2(extension, "maxExecutionGraphShaderPayloadSize", QVariant(extProps->maxExecutionGraphShaderPayloadSize));
pushProperty2(extension, "maxExecutionGraphShaderPayloadCount", QVariant(extProps->maxExecutionGraphShaderPayloadCount));
pushProperty2(extension, "executionGraphDispatchAddressAlignment", QVariant(extProps->executionGraphDispatchAddressAlignment));
pushProperty2(extension, "maxExecutionGraphWorkgroupCount", QVariant::fromValue(QVariantList({ extProps->maxExecutionGraphWorkgroupCount[0], extProps->maxExecutionGraphWorkgroupCount[1], extProps->maxExecutionGraphWorkgroupCount[2] })));
pushProperty2(extension, "maxExecutionGraphWorkgroups", QVariant(extProps->maxExecutionGraphWorkgroups));
delete extProps;
}
}
Expand Down Expand Up @@ -1327,6 +1329,7 @@ void VulkanDeviceInfoExtensions::readPhysicalFeatures_AMDX() {
deviceFeatures2 = initDeviceFeatures2(extFeatures);
vulkanContext.vkGetPhysicalDeviceFeatures2KHR(device, &deviceFeatures2);
pushFeature2(extension, "shaderEnqueue", extFeatures->shaderEnqueue);
pushFeature2(extension, "shaderMeshEnqueue", extFeatures->shaderMeshEnqueue);
delete extFeatures;
}
}
Expand Down Expand Up @@ -1923,6 +1926,15 @@ void VulkanDeviceInfoExtensions::readPhysicalFeatures_EXT() {
pushFeature2(extension, "primitiveTopologyPatchListRestart", extFeatures->primitiveTopologyPatchListRestart);
delete extFeatures;
}
if (extensionSupported("VK_EXT_present_mode_fifo_latest_ready")) {
const char* extension("VK_EXT_present_mode_fifo_latest_ready");
VkPhysicalDevicePresentModeFifoLatestReadyFeaturesEXT* extFeatures = new VkPhysicalDevicePresentModeFifoLatestReadyFeaturesEXT{};
extFeatures->sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_MODE_FIFO_LATEST_READY_FEATURES_EXT;
deviceFeatures2 = initDeviceFeatures2(extFeatures);
vulkanContext.vkGetPhysicalDeviceFeatures2KHR(device, &deviceFeatures2);
pushFeature2(extension, "presentModeFifoLatestReady", extFeatures->presentModeFifoLatestReady);
delete extFeatures;
}
if (extensionSupported("VK_EXT_pipeline_properties")) {
const char* extension("VK_EXT_pipeline_properties");
VkPhysicalDevicePipelinePropertiesFeaturesEXT* extFeatures = new VkPhysicalDevicePipelinePropertiesFeaturesEXT{};
Expand Down
2 changes: 1 addition & 1 deletion VulkanDeviceInfoExtensions.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class VulkanDeviceInfoExtensions
void readPhysicalFeatures_VALVE();

public:
const uint32_t vkHeaderVersion = 296;
const uint32_t vkHeaderVersion = 299;
std::vector<Feature2> features2;
std::vector<Property2> properties2;
std::vector<VkExtensionProperties> extensions;
Expand Down
1 change: 1 addition & 0 deletions extensionlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ VK_EXT_physical_device_drm
VK_EXT_device_address_binding_report
VK_EXT_depth_clip_control
VK_EXT_primitive_topology_list_restart
VK_EXT_present_mode_fifo_latest_ready
VK_EXT_pipeline_properties
VK_EXT_frame_boundary
VK_EXT_multisampled_render_to_single_sampled
Expand Down

0 comments on commit 74cfa97

Please sign in to comment.