From 80bf4363b62f89ca27ad259e029041dea17c1cc8 Mon Sep 17 00:00:00 2001 From: KStocky Date: Sun, 2 Jun 2024 14:51:38 +0100 Subject: [PATCH] Change the name of integral_constant because of this bug https://github.com/microsoft/DirectXShaderCompiler/issues/6646 --- .../Shader/ShaderCompilerTests/HLSLTests/DeferSFINAE.hlsl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/Shader/D3D12/Shader/ShaderCompilerTests/HLSLTests/DeferSFINAE.hlsl b/test/Shader/D3D12/Shader/ShaderCompilerTests/HLSLTests/DeferSFINAE.hlsl index 6ab76d66..ff5ea9ee 100644 --- a/test/Shader/D3D12/Shader/ShaderCompilerTests/HLSLTests/DeferSFINAE.hlsl +++ b/test/Shader/D3D12/Shader/ShaderCompilerTests/HLSLTests/DeferSFINAE.hlsl @@ -1,13 +1,13 @@ template -struct integral_constant +struct my_integral_constant { static const T value = v; using value_type = T; - using type = integral_constant; + using type = my_integral_constant; }; -using true_type = integral_constant; -using false_type = integral_constant; +using true_type = my_integral_constant; +using false_type = my_integral_constant; template struct is_same : false_type