From e50aac13e2c161d672b137a62f6d66820d0f9ff1 Mon Sep 17 00:00:00 2001 From: Jay Kwak <82421531+jkwak-work@users.noreply.github.com> Date: Wed, 11 Dec 2024 13:28:40 -0800 Subject: Update SPIRV submodules (#5815) * Update SPIRV submodules With the latest SPIR-V submodules, one of tests started failing: tests/gpu-feature/texture/query/footprint/nv-shader-texture-footprint.slang [ForceInline] is added to GLSL texture functions in order to inline %true and %false. Without it, the value was indirectly passed down via a function parameter, which broke the existing test. Also the test is modified to use -DAG, because the order unpredictably changed for Grad variants due to additional [ForceInline] marks for Gradient functions. A new validation check in SPIRV-Tools was causing a validation error: ``` error: line 324: [VUID-StandaloneSpirv-OpTypeImage-06924] Cannot store to OpTypeImage, OpTypeSampler, OpTypeSampledImage, or OpTypeAccelerationStructureKHR objects OpStore %17 %242 ``` It appears that this is a bug on SPIRV-Tools. A proper fix is proposed to Khronos/SPIRV-Tools: https://github.com/KhronosGroup/SPIRV-Tools/pull/5914 But this commit uses `shader-slang/SPIRV-Tools/fix_for_OpImageSampleFootprintNV` with a custom fix as a temporary solution: https://github.com/shader-slang/SPIRV-Tools/tree/fix_for_OpImageSampleFootprintNV --- external/spirv-tools-generated/extension_enum.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'external/spirv-tools-generated/extension_enum.inc') diff --git a/external/spirv-tools-generated/extension_enum.inc b/external/spirv-tools-generated/extension_enum.inc index 243af26ce..37aa8fef1 100644 --- a/external/spirv-tools-generated/extension_enum.inc +++ b/external/spirv-tools-generated/extension_enum.inc @@ -12,6 +12,7 @@ kSPV_AMD_shader_trinary_minmax, kSPV_AMD_texture_gather_bias_lod, kSPV_ARM_cooperative_matrix_layouts, kSPV_ARM_core_builtins, +kSPV_EXT_arithmetic_fence, kSPV_EXT_demote_to_helper_invocation, kSPV_EXT_descriptor_indexing, kSPV_EXT_fragment_fully_covered, @@ -19,6 +20,7 @@ kSPV_EXT_fragment_invocation_density, kSPV_EXT_fragment_shader_interlock, kSPV_EXT_mesh_shader, kSPV_EXT_opacity_micromap, +kSPV_EXT_optnone, kSPV_EXT_physical_storage_buffer, kSPV_EXT_relaxed_printf_string_address_space, kSPV_EXT_replicated_composites, @@ -118,6 +120,7 @@ kSPV_NVX_multiview_per_view_attributes, kSPV_NV_bindless_texture, kSPV_NV_compute_shader_derivatives, kSPV_NV_cooperative_matrix, +kSPV_NV_cooperative_matrix2, kSPV_NV_displacement_micromap, kSPV_NV_fragment_shader_barycentric, kSPV_NV_geometry_shader_passthrough, @@ -133,6 +136,7 @@ kSPV_NV_shader_sm_builtins, kSPV_NV_shader_subgroup_partitioned, kSPV_NV_shading_rate, kSPV_NV_stereo_view_rendering, +kSPV_NV_tensor_addressing, kSPV_NV_viewport_array2, kSPV_QCOM_image_processing, kSPV_QCOM_image_processing2, -- cgit v1.2.3