Fix handling artificial fields in D3D12 constant buffer

このコミットが含まれているのは:
Sergio Pedri committed 2023-11-20 21:11:45 +01:00
1 親 e4fb230068
コミット 777f8537f2
5ファイル変更
+44 -28

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

+1 -1
ファイルの表示
@@ -293,7 +293,7 @@ namespace ComputeSharp.Tests
static int C() => 1;
int D() => A() + E() + F();
public int D() => A() + E() + F();
int E() => 1;
-6
ファイルの表示
@@ -31,12 +31,6 @@ internal readonly partial struct TriangleGridContouring : IComputeShader
return new(c, -s, s, c);
}
// IQ's float2 to float hash.
private static float Hash21(float2 p)
{
return Hlsl.Frac(Hlsl.Sin(Hlsl.Dot(p, new float2(27.619f, 57.583f))) * 43758.5453f);
}
// float2 to float2 hash.
private float2 Hash22(float2 p)
{