pathfinder/resources/shaders/metal/d3d9/tile_clip_copy.fs.metal

24 lines
493 B
Metal
Raw Normal View History

// Automatically generated from files in pathfinder/shaders/. Do not edit!
#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
struct main0_out
{
float4 oFragColor [[color(0)]];
};
struct main0_in
{
float2 vTexCoord [[user(locn0)]];
};
fragment main0_out main0(main0_in in [[stage_in]], texture2d<float> uSrc [[texture(0)]], sampler uSrcSmplr [[sampler(0)]])
{
main0_out out = {};
out.oFragColor = uSrc.sample(uSrcSmplr, in.vTexCoord);
return out;
}