@@ -18,7 +18,7 @@ const char* requiredDeviceExtensions[NUM_REQ_EXTENSIONS] = {
1818};
1919
2020const char * optionalDeviceExtensions [NUM_OPT_EXTENSIONS ] = {
21- VK_NV_RAY_TRACING_INVOCATION_REORDER_EXTENSION_NAME
21+ VK_EXT_RAY_TRACING_INVOCATION_REORDER_EXTENSION_NAME
2222};
2323
2424const uint32_t requiredDeviceExtensionBits [NUM_REQ_EXTENSIONS ] = {
@@ -440,8 +440,8 @@ VKRT_Result createLogicalDevice(VKRT* vkrt) {
440440 deviceRayTracingPipelineFeatures .rayTracingPipelineTraceRaysIndirect = VK_FALSE ;
441441 deviceRayTracingPipelineFeatures .rayTraversalPrimitiveCulling = VK_FALSE ;
442442
443- VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV supportedReorderFeatures = {0 };
444- supportedReorderFeatures .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_FEATURES_NV ;
443+ VkPhysicalDeviceRayTracingInvocationReorderFeaturesEXT supportedReorderFeatures = {0 };
444+ supportedReorderFeatures .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_FEATURES_EXT ;
445445 if (extensionSupport .availableMask & DEVICE_EXTENSION_RAY_TRACING_INVOCATION_REORDER_BIT ) {
446446 VkPhysicalDeviceRayTracingPipelineFeaturesKHR supportedRayTracingPipelineFeatures = {0 };
447447 supportedRayTracingPipelineFeatures .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PIPELINE_FEATURES_KHR ;
@@ -452,8 +452,8 @@ VKRT_Result createLogicalDevice(VKRT* vkrt) {
452452 supportedFeatures .pNext = & supportedRayTracingPipelineFeatures ;
453453 vkGetPhysicalDeviceFeatures2 (vkrt -> core .physicalDevice , & supportedFeatures );
454454
455- VkPhysicalDeviceRayTracingInvocationReorderPropertiesNV reorderProperties = {0 };
456- reorderProperties .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_PROPERTIES_NV ;
455+ VkPhysicalDeviceRayTracingInvocationReorderPropertiesEXT reorderProperties = {0 };
456+ reorderProperties .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_PROPERTIES_EXT ;
457457
458458 VkPhysicalDeviceProperties2 supportedProperties = {0 };
459459 supportedProperties .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2 ;
@@ -464,8 +464,8 @@ VKRT_Result createLogicalDevice(VKRT* vkrt) {
464464 vkrt -> core .serMaxShaderBindingTableRecordIndex = 0u ;
465465 }
466466
467- VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV deviceReorderFeatures = {0 };
468- deviceReorderFeatures .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_FEATURES_NV ;
467+ VkPhysicalDeviceRayTracingInvocationReorderFeaturesEXT deviceReorderFeatures = {0 };
468+ deviceReorderFeatures .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_FEATURES_EXT ;
469469 deviceReorderFeatures .pNext = & deviceAccelerationStructureFeatures ;
470470 deviceReorderFeatures .rayTracingInvocationReorder = VK_TRUE ;
471471
@@ -546,15 +546,15 @@ VKRT_Result createLogicalDevice(VKRT* vkrt) {
546546 (extensionSupport .availableMask & DEVICE_EXTENSION_RAY_TRACING_INVOCATION_REORDER_BIT )) {
547547 LOG_INFO (
548548 " Optional extension %s was available but disabled by request" ,
549- VK_NV_RAY_TRACING_INVOCATION_REORDER_EXTENSION_NAME
549+ VK_EXT_RAY_TRACING_INVOCATION_REORDER_EXTENSION_NAME
550550 );
551551 }
552552
553553 if ((extensionSupport .availableMask & DEVICE_EXTENSION_RAY_TRACING_INVOCATION_REORDER_BIT ) &&
554554 !supportedReorderFeatures .rayTracingInvocationReorder ) {
555555 LOG_INFO (
556556 " Optional extension %s was loaded but its feature is unsupported, so it was not enabled" ,
557- VK_NV_RAY_TRACING_INVOCATION_REORDER_EXTENSION_NAME
557+ VK_EXT_RAY_TRACING_INVOCATION_REORDER_EXTENSION_NAME
558558 );
559559 }
560560
0 commit comments