Skip to content

Commit dfbd7eb

Browse files
hyperbxIsaacMarovitz
authored andcommitted
Fix D3D12
1 parent 3e47234 commit dfbd7eb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

MarathonRecomp/gpu/shader/hlsl/enhanced_burnout_blur_ps.hlsl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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+
}

0 commit comments

Comments
 (0)