Use a Texture2DArray in HLSL to match the SRVs

This commit is contained in:
Cameron Gutman
2024-06-27 19:46:27 -05:00
parent dff02eab7d
commit d389f9a6e9
10 changed files with 20 additions and 20 deletions
+2 -2
View File
@@ -1,13 +1,13 @@
struct ShaderInput
{
float2 pos : POSITION;
float2 tex : TEXCOORD0;
float3 tex : TEXCOORD0;
};
struct ShaderOutput
{
float4 pos : SV_POSITION;
float2 tex : TEXCOORD0;
float3 tex : TEXCOORD0;
};
ShaderOutput main(ShaderInput input)