File tree Expand file tree Collapse file tree
MarathonRecomp/gpu/shader/hlsl Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33#ifdef __spirv__
44
5- #define s0_TextureDescriptorIndex vk::RawBufferLoad<uint >(g_PushConstants.SharedConstants + 0 )
5+ #define s0_Texture2DDescriptorIndex vk::RawBufferLoad<uint >(g_PushConstants.SharedConstants + 0 )
66#define s0_SamplerDescriptorIndex vk::RawBufferLoad<uint >(g_PushConstants.SharedConstants + 192 )
77
88#else
@@ -22,7 +22,7 @@ float4 shaderMain(
2222 in float2 oVelocity : TEXCOORD1 ,
2323 in float2 oVelScale : TEXCOORD2 ) : SV_Target
2424{
25- Texture2D <float4 > texture = g_Texture2DDescriptorHeap[s0_TextureDescriptorIndex ];
25+ Texture2D <float4 > texture = g_Texture2DDescriptorHeap[s0_Texture2DDescriptorIndex ];
2626 SamplerState samplerState = g_SamplerDescriptorHeap[s0_SamplerDescriptorIndex];
2727
2828 float velocityMag = sqrt (dot (oVelocity, oVelocity));
@@ -48,4 +48,4 @@ float4 shaderMain(
4848 }
4949
5050 return result * (1.0 / (float )g_SampleCount);
51- }
51+ }
You can’t perform that action at this time.
0 commit comments