mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-04 05:32:40 +02:00
...
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user