Use a Texture2DArray in HLSL to match the SRVs

This commit is contained in:
Cameron Gutman committed 2024-06-27 19:46:27 -05:00
1 parent dff02eab7d
commit d389f9a6e9
10 files changed
+20 -20

No files matched your search

+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)