Roll DirectX Shader Compiler from d8aad78191b3 to 31a2f581a9eb (1 revision)

https://chromium.googlesource.com/external/github.com/microsoft/DirectXShaderCompiler.git/+log/d8aad78191b3..31a2f581a9eb

2025-03-27 brioche@google.com [SPIR-V] Fix usage of indices in subfunctions (#7242)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/directx-shader-compiler-dawn
Please CC jrprice@google.com,webgpu-developers@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in DirectX Shader Compiler: https://github.com/microsoft/DirectXShaderCompiler/issues/new/choose
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: jrprice@google.com
Change-Id: Ic4b6f1d9692fa034c6cb0a59ffa0b736452f27a1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/233394
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
diff --git a/DEPS b/DEPS
index 4f5814b..08a1308 100644
--- a/DEPS
+++ b/DEPS
@@ -334,7 +334,7 @@
   },
 
   'third_party/dxc': {
-    'url': '{chromium_git}/external/github.com/microsoft/DirectXShaderCompiler@d8aad78191b3f179601babc3183fd7c98f50df17',
+    'url': '{chromium_git}/external/github.com/microsoft/DirectXShaderCompiler@31a2f581a9eb48e295c20df9be334981f8951b1c',
   },
 
   'third_party/dxheaders': {
diff --git a/third_party/dxc b/third_party/dxc
index d8aad78..31a2f58 160000
--- a/third_party/dxc
+++ b/third_party/dxc
@@ -1 +1 @@
-Subproject commit d8aad78191b3f179601babc3183fd7c98f50df17
+Subproject commit 31a2f581a9eb48e295c20df9be334981f8951b1c