Skip to content

Commit

Permalink
Update profiles library (#200)
Browse files Browse the repository at this point in the history
* Updated profiles library to include new profiles incl. the roadmap 2024 profile

* Use C++17

Required for new profiles library to compile with Qt/Android

* Updated to Vulkan headers 1.3.279

Adds support for:
- VK_NV_raw_access_chains

* Update profiles library

* Updated profiles library

* Updated profiles library

Fixes warnings

* Updated to Vulkan headers 1.3.280

Adds support for:
- VK_NV_ray_tracing_validation

* Version bump to 3.34
  • Loading branch information
SaschaWillems committed Mar 13, 2024
1 parent ae13fe0 commit 2b374f4
Show file tree
Hide file tree
Showing 9 changed files with 17,392 additions and 8,825 deletions.
18 changes: 18 additions & 0 deletions VulkanDeviceInfoExtensions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2982,6 +2982,15 @@ void VulkanDeviceInfoExtensions::readPhysicalFeatures_NV() {
pushFeature2(extension, "descriptorPoolOverallocation", extFeatures->descriptorPoolOverallocation);
delete extFeatures;
}
if (extensionSupported("VK_NV_raw_access_chains")) {
const char* extension("VK_NV_raw_access_chains");
VkPhysicalDeviceRawAccessChainsFeaturesNV* extFeatures = new VkPhysicalDeviceRawAccessChainsFeaturesNV{};
extFeatures->sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAW_ACCESS_CHAINS_FEATURES_NV;
deviceFeatures2 = initDeviceFeatures2(extFeatures);
vulkanContext.vkGetPhysicalDeviceFeatures2KHR(device, &deviceFeatures2);
pushFeature2(extension, "shaderRawAccessChains", extFeatures->shaderRawAccessChains);
delete extFeatures;
}
if (extensionSupported("VK_NV_shader_atomic_float16_vector")) {
const char* extension("VK_NV_shader_atomic_float16_vector");
VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV* extFeatures = new VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV{};
Expand All @@ -2991,6 +3000,15 @@ void VulkanDeviceInfoExtensions::readPhysicalFeatures_NV() {
pushFeature2(extension, "shaderFloat16VectorAtomics", extFeatures->shaderFloat16VectorAtomics);
delete extFeatures;
}
if (extensionSupported("VK_NV_ray_tracing_validation")) {
const char* extension("VK_NV_ray_tracing_validation");
VkPhysicalDeviceRayTracingValidationFeaturesNV* extFeatures = new VkPhysicalDeviceRayTracingValidationFeaturesNV{};
extFeatures->sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV;
deviceFeatures2 = initDeviceFeatures2(extFeatures);
vulkanContext.vkGetPhysicalDeviceFeatures2KHR(device, &deviceFeatures2);
pushFeature2(extension, "rayTracingValidation", extFeatures->rayTracingValidation);
delete extFeatures;
}
}
void VulkanDeviceInfoExtensions::readPhysicalFeatures_QCOM() {
VkPhysicalDeviceFeatures2 deviceFeatures2{};
Expand Down
2 changes: 1 addition & 1 deletion VulkanDeviceInfoExtensions.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class VulkanDeviceInfoExtensions
void readPhysicalFeatures_VALVE();

public:
const uint32_t vkHeaderVersion = 278;
const uint32_t vkHeaderVersion = 280;
std::vector<Feature2> features2;
std::vector<Property2> properties2;
std::vector<VkExtensionProperties> extensions;
Expand Down
2 changes: 1 addition & 1 deletion android/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<manifest package="de.saschawillems.vulkancapsviewer" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="3.33" android:versionCode="37" android:installLocation="auto">
<manifest package="de.saschawillems.vulkancapsviewer" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="3.34" android:versionCode="38" android:installLocation="auto">
<!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
Remove the comment if you do not require these default permissions. -->
<!-- %%INSERT_PERMISSIONS -->
Expand Down
2 changes: 2 additions & 0 deletions extensionlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,9 @@ VK_NV_ray_tracing_invocation_reorder
VK_NV_extended_sparse_address_space
VK_NV_per_stage_descriptor_set
VK_NV_descriptor_pool_overallocation
VK_NV_raw_access_chains
VK_NV_shader_atomic_float16_vector
VK_NV_ray_tracing_validation
NVX
VK_NVX_multiview_per_view_attributes
QCOM
Expand Down
2 changes: 2 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ void logMessageHandler(QtMsgType type, const QMessageLogContext& context, const
QTextStream textStream(&logFile);
textStream << logMessage << endl;
};
// Suppress compiler warning
(void)context;
}

int main(int argc, char *argv[])
Expand Down
2 changes: 1 addition & 1 deletion vulkanCapsViewer.pro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
TEMPLATE = app
TARGET = vulkanCapsViewer
QT += core network widgets gui
CONFIG += c++11
CONFIG += c++17
#CONFIG += release bad for debugging
DEFINES += QT_DLL QT_NETWORK_LIB QT_WIDGETS_LIB VK_ENABLE_BETA_EXTENSIONS
INCLUDEPATH += ./GeneratedFiles \
Expand Down
Loading

0 comments on commit 2b374f4

Please sign in to comment.