This commit is contained in:
Kovid Goyal 2026-06-29 08:37:16 +05:30
parent 30adbb28d9
commit d5aa62afc7
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -25,10 +25,8 @@ VSOutput vertex_main(
return output;
}
Sampler2D image;
[shader("fragment")]
float4 fragment_main(float2 texcoord : TEXCOORD) : SV_Target
float4 fragment_main(float2 texcoord : TEXCOORD, uniform Sampler2D image) : SV_Target
{
float4 color = image.Sample(texcoord);
return color;