2020-04-22 12:13:42 -04:00
|
|
|
// 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)]];
|
|
|
|
};
|
|
|
|
|
2020-04-23 21:00:52 -04:00
|
|
|
fragment main0_out main0(main0_in in [[stage_in]], texture2d<float> uSrc [[texture(0)]], sampler uSrcSmplr [[sampler(0)]])
|
2020-04-22 12:13:42 -04:00
|
|
|
{
|
|
|
|
main0_out out = {};
|
2020-06-23 15:27:04 -04:00
|
|
|
out.oFragColor = uSrc.sample(uSrcSmplr, in.vTexCoord);
|
2020-04-22 12:13:42 -04:00
|
|
|
return out;
|
|
|
|
}
|
|
|
|
|