2019-04-23 10:17:21 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
#include <simd/simd.h>
|
|
|
|
|
|
|
|
using namespace metal;
|
|
|
|
|
|
|
|
struct main0_out
|
|
|
|
{
|
|
|
|
float4 gl_Position [[position]];
|
|
|
|
};
|
|
|
|
|
2019-06-21 10:44:33 +00:00
|
|
|
vertex main0_out main0(texture_buffer<float> uSamp [[texture(0)]], texture_buffer<float> uSampo [[texture(1)]])
|
2019-04-23 10:17:21 +00:00
|
|
|
{
|
|
|
|
main0_out out = {};
|
2019-04-23 10:46:48 +00:00
|
|
|
out.gl_Position = uSamp.read(uint(10)) + uSampo.read(uint(100));
|
2019-04-23 10:17:21 +00:00
|
|
|
return out;
|
|
|
|
}
|
|
|
|
|