Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deps for release #6929

Merged
merged 2 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion external/SPIRV-Tools
Submodule SPIRV-Tools updated 47 files
+1 −1 .github/workflows/ios.yml
+3 −3 .github/workflows/scorecard.yml
+2 −0 Android.mk
+0 −1 BUILD.bazel
+5 −0 BUILD.gn
+14 −0 CHANGES
+3 −3 DEPS
+14 −0 MODULE.bazel
+1 −1 include/spirv-tools/libspirv.hpp
+9 −0 include/spirv-tools/optimizer.hpp
+2 −0 source/CMakeLists.txt
+1 −0 source/binary.cpp
+3 −12 source/name_mapper.cpp
+1 −0 source/opt/CMakeLists.txt
+3 −1 source/opt/aggressive_dead_code_elim_pass.cpp
+17 −3 source/opt/debug_info_manager.cpp
+2 −1 source/opt/inst_debug_printf_pass.cpp
+2 −1 source/opt/local_access_chain_convert_pass.cpp
+2 −1 source/opt/local_single_block_elim_pass.cpp
+2 −1 source/opt/local_single_store_elim_pass.cpp
+1 −0 source/opt/mem_pass.cpp
+28 −0 source/opt/optimizer.cpp
+1 −0 source/opt/passes.h
+6 −2 source/opt/remove_unused_interface_variables_pass.cpp
+482 −0 source/opt/struct_packing_pass.cpp
+81 −0 source/opt/struct_packing_pass.h
+44 −0 source/to_string.cpp
+29 −0 source/to_string.h
+1 −1 source/util/bitutils.h
+3 −0 source/val/validate_cfg.cpp
+12 −8 source/val/validate_extensions.cpp
+19 −7 source/val/validate_image.cpp
+16 −6 source/val/validate_memory.cpp
+1 −0 test/CMakeLists.txt
+10 −0 test/binary_to_text_test.cpp
+1 −0 test/opt/CMakeLists.txt
+39 −2 test/opt/aggressive_dead_code_elim_test.cpp
+78 −0 test/opt/debug_info_manager_test.cpp
+242 −0 test/opt/struct_packing_test.cpp
+14 −14 test/opt/trim_capabilities_pass_test.cpp
+28 −0 test/to_string_test.cpp
+37 −0 test/val/val_cfg_test.cpp
+190 −3 test/val/val_image_test.cpp
+95 −19 test/val/val_memory_test.cpp
+4 −0 tools/opt/opt.cpp
+2 −1 utils/check_copyright.py
+5 −4 utils/update_build_version.py
4 changes: 2 additions & 2 deletions tools/clang/test/CodeGenSPIRV/ddx.compute.hlsl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// RUN: %dxc -T cs_6_6 -E main -fspv-extension=SPV_NV_compute_shader_derivatives -fcgl %s -spirv 2>&1 | FileCheck %s

// CHECK: OpCapability ComputeDerivativeGroupQuadsNV
// CHECK: OpCapability ComputeDerivativeGroupQuadsKHR
// CHECK: OpExtension "SPV_NV_compute_shader_derivatives"
// CHECK: OpExecutionMode %main DerivativeGroupQuadsNV
// CHECK: OpExecutionMode %main DerivativeGroupQuadsKHR


SamplerState ss : register(s2);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
// This test checks that the execution mode is not added multiple times. Other
// tests will verify that the code generation is correct.

// CHECK: OpCapability ComputeDerivativeGroupQuadsNV
// CHECK: OpCapability ComputeDerivativeGroupQuadsKHR
// CHECK: OpExtension "SPV_NV_compute_shader_derivatives"
// CHECK: OpExecutionMode %main DerivativeGroupQuadsNV
// CHECK-NOT: OpExecutionMode %main DerivativeGroupQuadsNV
// CHECK: OpExecutionMode %main DerivativeGroupQuadsKHR
// CHECK-NOT: OpExecutionMode %main DerivativeGroupQuadsKHR

SamplerState ss : register(s2);
SamplerComparisonState scs;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// RUN: %dxc -T cs_6_6 -E main -fspv-extension=SPV_NV_compute_shader_derivatives -fcgl %s -spirv 2>&1 | FileCheck %s
// RUN: %dxc -T cs_6_6 -E main -fspv-extension=SPV_NV_compute_shader_derivatives -fcgl %s -spirv 2>&1 | FileCheck %s --check-prefix=CHECK

// CHECK: OpCapability ComputeDerivativeGroupLinearNV
// CHECK: OpCapability ComputeDerivativeGroupLinearKHR
// CHECK: OpExtension "SPV_NV_compute_shader_derivatives"
// CHECK: OpExecutionMode %main DerivativeGroupLinearNV
// CHECK: OpExecutionMode %main DerivativeGroupLinearKHR

SamplerState ss : register(s2);
SamplerComparisonState scs;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// RUN: %dxc -T cs_6_6 -E main -fspv-extension=SPV_NV_compute_shader_derivatives -fcgl %s -spirv 2>&1 | FileCheck %s

// CHECK: OpCapability ComputeDerivativeGroupQuadsNV
// CHECK: OpCapability ComputeDerivativeGroupQuadsKHR
// CHECK: OpExtension "SPV_NV_compute_shader_derivatives"
// CHECK: OpExecutionMode %main DerivativeGroupQuadsNV
// CHECK: OpExecutionMode %main DerivativeGroupQuadsKHR

SamplerState ss : register(s2);
SamplerComparisonState scs;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// RUN: %dxc -T cs_6_6 -E main -fspv-extension=SPV_NV_compute_shader_derivatives -fcgl %s -spirv 2>&1 | FileCheck %s

// CHECK: OpCapability ComputeDerivativeGroupLinearNV
// CHECK: OpCapability ComputeDerivativeGroupLinearKHR
// CHECK: OpExtension "SPV_NV_compute_shader_derivatives"
// CHECK: OpExecutionMode %main DerivativeGroupLinearNV
// CHECK: OpExecutionMode %main DerivativeGroupLinearKHR

SamplerState ss : register(s2);
SamplerComparisonState scs;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// RUN: %dxc -T cs_6_6 -E main -fspv-extension=SPV_NV_compute_shader_derivatives -fcgl %s -spirv 2>&1 | FileCheck %s

// CHECK: OpCapability ComputeDerivativeGroupQuadsNV
// CHECK: OpCapability ComputeDerivativeGroupQuadsKHR
// CHECK: OpExtension "SPV_NV_compute_shader_derivatives"
// CHECK: OpExecutionMode %main DerivativeGroupQuadsNV
// CHECK: OpExecutionMode %main DerivativeGroupQuadsKHR

SamplerState ss : register(s2);
SamplerComparisonState scs;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// RUN: %dxc -T cs_6_6 -E main -fspv-extension=SPV_NV_compute_shader_derivatives -fcgl %s -spirv 2>&1 | FileCheck %s

// CHECK: OpCapability ComputeDerivativeGroupLinearNV
// CHECK: OpCapability ComputeDerivativeGroupLinearKHR
// CHECK: OpExtension "SPV_NV_compute_shader_derivatives"
// CHECK: OpExecutionMode %main DerivativeGroupLinearNV
// CHECK: OpExecutionMode %main DerivativeGroupLinearKHR

SamplerState ss : register(s2);
SamplerComparisonState scs;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// RUN: %dxc -T cs_6_6 -E main -fspv-extension=SPV_NV_compute_shader_derivatives -fcgl %s -spirv 2>&1 | FileCheck %s

// CHECK: OpCapability ComputeDerivativeGroupQuadsNV
// CHECK: OpCapability ComputeDerivativeGroupQuadsKHR
// CHECK: OpExtension "SPV_NV_compute_shader_derivatives"
// CHECK: OpExecutionMode %main DerivativeGroupQuadsNV
// CHECK: OpExecutionMode %main DerivativeGroupQuadsKHR

SamplerState ss : register(s2);
SamplerComparisonState scs;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// RUN: %dxc -T cs_6_6 -E main -fspv-extension=SPV_NV_compute_shader_derivatives -fcgl %s -spirv 2>&1 | FileCheck %s

// CHECK: OpCapability ComputeDerivativeGroupLinearNV
// CHECK: OpCapability ComputeDerivativeGroupLinearKHR
// CHECK: OpExtension "SPV_NV_compute_shader_derivatives"
// CHECK: OpExecutionMode %main DerivativeGroupLinearNV
// CHECK: OpExecutionMode %main DerivativeGroupLinearKHR

SamplerState ss : register(s2);
SamplerComparisonState scs;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// RUN: %dxc -T cs_6_6 -E main -fspv-extension=SPV_NV_compute_shader_derivatives -fcgl %s -spirv 2>&1 | FileCheck %s

// CHECK: OpCapability ComputeDerivativeGroupQuadsNV
// CHECK: OpCapability ComputeDerivativeGroupQuadsKHR
// CHECK: OpExtension "SPV_NV_compute_shader_derivatives"
// CHECK: OpExecutionMode %main DerivativeGroupQuadsNV
// CHECK: OpExecutionMode %main DerivativeGroupQuadsKHR

SamplerState ss : register(s2);
SamplerComparisonState scs;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// RUN: %dxc -T cs_6_6 -E main -fspv-extension=SPV_NV_compute_shader_derivatives -fcgl %s -spirv 2>&1 | FileCheck %s

// CHECK: OpCapability ComputeDerivativeGroupLinearNV
// CHECK: OpCapability ComputeDerivativeGroupLinearKHR
// CHECK: OpExtension "SPV_NV_compute_shader_derivatives"
// CHECK: OpExecutionMode %main DerivativeGroupLinearNV
// CHECK: OpExecutionMode %main DerivativeGroupLinearKHR

SamplerState ss : register(s2);
SamplerComparisonState scs;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// RUN: %dxc -T cs_6_6 -E main -fspv-extension=SPV_NV_compute_shader_derivatives -fcgl %s -spirv 2>&1 | FileCheck %s

// CHECK: OpCapability ComputeDerivativeGroupQuadsNV
// CHECK: OpCapability ComputeDerivativeGroupQuadsKHR
// CHECK: OpExtension "SPV_NV_compute_shader_derivatives"
// CHECK: OpExecutionMode %main DerivativeGroupQuadsNV
// CHECK: OpExecutionMode %main DerivativeGroupQuadsKHR

SamplerState ss : register(s2);
SamplerComparisonState scs;
Expand Down
Loading