2020-03-02 23:04:09 -05: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-03-02 23:04:09 -05:00
|
|
|
{
|
|
|
|
main0_out out = {};
|
2020-04-23 21:00:52 -04:00
|
|
|
float4 color = uSrc.sample(uSrcSmplr, in.vTexCoord);
|
2020-06-23 15:48:35 -04:00
|
|
|
out.oFragColor = color;
|
2020-03-02 23:04:09 -05:00
|
|
|
return out;
|
|
|
|
}
|
|
|
|
|