Fix sorting of custom type declarations in HLSL

このコミットが含まれているのは:
Sergio Pedri committed 2023-12-21 18:50:30 +01:00
1 親 a926a1211f
コミット 2cb61a3eec
2ファイル変更
+25 -22

検索条件に一致するファイルはありません

+13 -13
ファイルの表示
@@ -992,19 +992,6 @@ namespace ComputeSharp.Tests
struct ComputeSharp_Tests_ShaderCompilerTests_StructType1;
struct ComputeSharp_Tests_ShaderCompilerTests_StructType2;
int InstanceMethodInShader();
static float StaticMethodInShader(float x);
static float ComputeSharp_Tests_ShaderCompilerTests_StructType1_StaticMethod(int x);
static float ComputeSharp_Tests_ShaderCompilerTests_StructType2_StaticMethod(int x);
static const float Init = abs(__ComputeSharp_Tests_ShaderCompilerTests_ShaderWithAllSupportedMembers__PI);
static int Temp;
static int ComputeSharp_Tests_ShaderCompilerTests_ExternalContainerClass_Temp;
static const float ComputeSharp_Tests_ShaderCompilerTests_ExternalContainerClass_PI2 = 3.14 * 2;
struct ComputeSharp_Tests_ShaderCompilerTests_StructType1
{
int X;
@@ -1020,6 +1007,19 @@ namespace ComputeSharp.Tests
float Combine(ComputeSharp_Tests_ShaderCompilerTests_StructType1 other);
};
int InstanceMethodInShader();
static float StaticMethodInShader(float x);
static float ComputeSharp_Tests_ShaderCompilerTests_StructType1_StaticMethod(int x);
static float ComputeSharp_Tests_ShaderCompilerTests_StructType2_StaticMethod(int x);
static const float Init = abs(__ComputeSharp_Tests_ShaderCompilerTests_ShaderWithAllSupportedMembers__PI);
static int Temp;
static int ComputeSharp_Tests_ShaderCompilerTests_ExternalContainerClass_Temp;
static const float ComputeSharp_Tests_ShaderCompilerTests_ExternalContainerClass_PI2 = 3.14 * 2;
cbuffer _ : register(b0)
{
uint __x;