From fa67ab5525f40d5ea46479ee83e5a7be5c541c12 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Wed, 22 Jan 2025 11:16:26 +0100 Subject: [PATCH] anv,gfxstream,panvk,zink: update urls to vulkan docs This is simply following the redirects the same way the browser does. The new pages were manually verified to still contain the corresponding information. For URLs where this was not the case, see the next commits. Part-of: --- .../zink/ci/zink-anv-tgl-validation-settings.txt | 8 ++++---- .../drivers/zink/ci/zink-lvp-validation-settings.txt | 6 +++--- .../guest/vulkan_enc/AndroidHardwareBuffer.cpp | 2 +- src/gfxstream/guest/vulkan_enc/ResourceTracker.cpp | 12 ++++++------ src/intel/vulkan/anv_formats.c | 2 +- src/intel/vulkan/grl/include/GRLStructs.h | 2 +- src/intel/vulkan_hasvk/anv_formats.c | 2 +- src/panfrost/vulkan/jm/panvk_vX_event.c | 2 +- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/gallium/drivers/zink/ci/zink-anv-tgl-validation-settings.txt b/src/gallium/drivers/zink/ci/zink-anv-tgl-validation-settings.txt index 05612b86b04..96a64c5d2ee 100644 --- a/src/gallium/drivers/zink/ci/zink-anv-tgl-validation-settings.txt +++ b/src/gallium/drivers/zink/ci/zink-anv-tgl-validation-settings.txt @@ -42,7 +42,7 @@ khronos_validation.log_filename = stdout # locations the variable it decorates consumes must be less than or equal to the # value for the matching {ExecutionModel} defined in Shader Input and Output # Locations -# (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-RuntimeSpirv-Location-06272) +# (https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#VUID-RuntimeSpirv-Location-06272) # KHR-GL46.gpu_shader_fp64.builtin.roundeven_dvec4: # [ VUID-VkGraphicsPipelineCreateInfo-renderPass-06590 ] Object 0: handle = @@ -75,7 +75,7 @@ khronos_validation.log_filename = stdout # result of this command, then the image view's format must match the numeric # format from the Sampled Type operand of the OpTypeImage as described in the # SPIR-V Sampled Type column of the Interpretation of Numeric Format table -# (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkCmdDrawMultiIndexedEXT-format-07753) +# (https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#VUID-vkCmdDrawMultiIndexedEXT-format-07753) # KHR-Single-GL46.enhanced_layouts.varying_locations: # [ UNASSIGNED-CoreValidation-Shader-InterfaceTypeMismatch ] Object 0: handle = @@ -98,7 +98,7 @@ khronos_validation.log_filename = stdout # } # The Vulkan spec states: Any user-defined variables between the OpEntryPoint # of two shader stages must have the same type and width for each Component -# (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-RuntimeSpirv-OpEntryPoint-07754) +# (https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#VUID-RuntimeSpirv-OpEntryPoint-07754) # KHR-Single-GL46.enhanced_layouts.xfb_struct_explicit_location # [ VUID-VkShaderModuleCreateInfo-pCode-01379 ] @@ -115,7 +115,7 @@ khronos_validation.log_filename = stdout # and declared with Input as its {StorageClass} for the subsequent shader stage, # must have all Location slots and Component words declared in the preceding shader stage's # OpEntryPoint with Output as the {StorageClass} -# (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-RuntimeSpirv-OpEntryPoint-08743) +# (https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#VUID-RuntimeSpirv-OpEntryPoint-08743) # # VVL bug https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/5735 diff --git a/src/gallium/drivers/zink/ci/zink-lvp-validation-settings.txt b/src/gallium/drivers/zink/ci/zink-lvp-validation-settings.txt index 60ba9eb332a..eb28b8562be 100644 --- a/src/gallium/drivers/zink/ci/zink-lvp-validation-settings.txt +++ b/src/gallium/drivers/zink/ci/zink-lvp-validation-settings.txt @@ -23,7 +23,7 @@ khronos_validation.log_filename = stdout # accessed as a result of this command, then the image view's viewType must match # the Dim operand of the OpTypeImage as described in Instruction/Sampler/Image # View Validation -# (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkCmdDrawMultiEXT-viewType-07752) +# (https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#VUID-vkCmdDrawMultiEXT-viewType-07752) # KHR-Single-GL46.enhanced_layouts.varying_array_locations: # @@ -35,7 +35,7 @@ khronos_validation.log_filename = stdout # of locations the variable it decorates consumes must be less than or # equal to the value for the matching {ExecutionModel} defined in Shader # Input and Output Locations -# (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-RuntimeSpirv-Location-06272) +# (https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#VUID-RuntimeSpirv-Location-06272) # dEQP-GLES31.functional.separate_shader.random.69 # @@ -52,7 +52,7 @@ khronos_validation.log_filename = stdout # and declared with Input as its {StorageClass} for the subsequent shader stage, # must have all Location slots and Component words declared in the preceding shader stage's # OpEntryPoint with Output as the {StorageClass} -# (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-RuntimeSpirv-OpEntryPoint-08743) +# (https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#VUID-RuntimeSpirv-OpEntryPoint-08743) # # VVL bug https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/5735 diff --git a/src/gfxstream/guest/vulkan_enc/AndroidHardwareBuffer.cpp b/src/gfxstream/guest/vulkan_enc/AndroidHardwareBuffer.cpp index 12ff8bf4e33..4d364d234d6 100644 --- a/src/gfxstream/guest/vulkan_enc/AndroidHardwareBuffer.cpp +++ b/src/gfxstream/guest/vulkan_enc/AndroidHardwareBuffer.cpp @@ -183,7 +183,7 @@ VkResult getAndroidHardwareBufferPropertiesANDROID( // * V (CR) comes from the R-channel (after swizzle) // // See - // https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#textures-sampler-YCbCr-conversion + // https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#textures-sampler-YCbCr-conversion // // To match the above, the guest needs to swizzle such that: // diff --git a/src/gfxstream/guest/vulkan_enc/ResourceTracker.cpp b/src/gfxstream/guest/vulkan_enc/ResourceTracker.cpp index 7beb948d219..bd443ed0900 100644 --- a/src/gfxstream/guest/vulkan_enc/ResourceTracker.cpp +++ b/src/gfxstream/guest/vulkan_enc/ResourceTracker.cpp @@ -1699,7 +1699,7 @@ VkResult ResourceTracker::on_vkEnumerateInstanceExtensionProperties( // Spec: // - // https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkEnumerateInstanceExtensionProperties.html + // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateInstanceExtensionProperties.html // // If pProperties is NULL, then the number of extensions properties // available is returned in pPropertyCount. Otherwise, pPropertyCount @@ -1923,14 +1923,14 @@ VkResult ResourceTracker::on_vkEnumerateDeviceExtensionProperties( // Spec: // - // https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkEnumerateDeviceExtensionProperties.html + // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateDeviceExtensionProperties.html // // pPropertyCount is a pointer to an integer related to the number of // extension properties available or queried, and is treated in the // same fashion as the // vkEnumerateInstanceExtensionProperties::pPropertyCount parameter. // - // https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkEnumerateInstanceExtensionProperties.html + // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateInstanceExtensionProperties.html // // If pProperties is NULL, then the number of extensions properties // available is returned in pPropertyCount. Otherwise, pPropertyCount @@ -1985,7 +1985,7 @@ VkResult ResourceTracker::on_vkEnumeratePhysicalDevices(void* context, VkResult, // even if the guest did not ask for it // - Serve the guest query according to the spec: // - // https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkEnumeratePhysicalDevices.html + // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDevices.html auto it = info_VkInstance.find(instance); @@ -2028,7 +2028,7 @@ VkResult ResourceTracker::on_vkEnumeratePhysicalDevices(void* context, VkResult, // Serve the guest query according to the spec. // - // https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkEnumeratePhysicalDevices.html + // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDevices.html // // If pPhysicalDevices is NULL, then the number of physical devices // available is returned in pPhysicalDeviceCount. Otherwise, @@ -5716,7 +5716,7 @@ void ResourceTracker::on_vkDestroySemaphore(void* context, VkDevice device, VkSe enc->vkDestroySemaphore(device, semaphore, pAllocator, true /* do lock */); } -// https://www.khronos.org/registry/vulkan/specs/1.0-extensions/html/vkspec.html#vkGetSemaphoreFdKHR +// https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#vkGetSemaphoreFdKHR // Each call to vkGetSemaphoreFdKHR must create a new file descriptor and transfer ownership // of it to the application. To avoid leaking resources, the application must release ownership // of the file descriptor when it is no longer needed. diff --git a/src/intel/vulkan/anv_formats.c b/src/intel/vulkan/anv_formats.c index 824694a1322..41c52d28d76 100644 --- a/src/intel/vulkan/anv_formats.c +++ b/src/intel/vulkan/anv_formats.c @@ -673,7 +673,7 @@ anv_get_image_format_features2(const struct anv_physical_device *physical_device * it for the list of shader storage extended formats [1]. Before that, * this applies to all VkFormats. * - * [1] : https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#features-shaderStorageImageExtendedFormats + * [1] : https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#features-shaderStorageImageExtendedFormats */ if (flags & VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT) flags |= VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT; diff --git a/src/intel/vulkan/grl/include/GRLStructs.h b/src/intel/vulkan/grl/include/GRLStructs.h index c8af8313ffc..35130ec0810 100644 --- a/src/intel/vulkan/grl/include/GRLStructs.h +++ b/src/intel/vulkan/grl/include/GRLStructs.h @@ -46,7 +46,7 @@ GRL_NAMESPACE_BEGIN(_INTERNAL) // Matches the Vulkan VkAccelerationStructureBuildRangeInfoKHR structure // See Vulkan spec for data access rules: - // https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAccelerationStructureBuildRangeInfoKHR.html + // https://registry.khronos.org/vulkan/specs/latest/man/html/VkAccelerationStructureBuildRangeInfoKHR.html // struct IndirectBuildRangeInfo { diff --git a/src/intel/vulkan_hasvk/anv_formats.c b/src/intel/vulkan_hasvk/anv_formats.c index d300eca2fa3..f57c1722ec3 100644 --- a/src/intel/vulkan_hasvk/anv_formats.c +++ b/src/intel/vulkan_hasvk/anv_formats.c @@ -646,7 +646,7 @@ anv_get_image_format_features2(const struct intel_device_info *devinfo, * it for the list of shader storage extended formats [1]. Before that, * this applies to all VkFormats. * - * [1] : https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#features-shaderStorageImageExtendedFormats + * [1] : https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#features-shaderStorageImageExtendedFormats */ if (flags & VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT) flags |= VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT; diff --git a/src/panfrost/vulkan/jm/panvk_vX_event.c b/src/panfrost/vulkan/jm/panvk_vX_event.c index 44923ca24e0..27ae972bf76 100644 --- a/src/panfrost/vulkan/jm/panvk_vX_event.c +++ b/src/panfrost/vulkan/jm/panvk_vX_event.c @@ -93,7 +93,7 @@ panvk_per_arch(SetEvent)(VkDevice _device, VkEvent _event) * is already in signaled state. This won't be a problem because the spec * mandates that the event will have been set before the vkCmdWaitEvents * command executes. - * https://www.khronos.org/registry/vulkan/specs/1.2/html/chap6.html#commandbuffers-submission-progress + * https://docs.vulkan.org/spec/latest/chapters/cmdbuffers.html#commandbuffers-submission-progress */ if (drmIoctl(device->vk.drm_fd, DRM_IOCTL_SYNCOBJ_SIGNAL, &objs)) return VK_ERROR_DEVICE_LOST;