mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-07-08 08:52:32 +00:00
...
This commit is contained in:
parent
30adbb28d9
commit
d5aa62afc7
1 changed files with 1 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue