This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MSL Vertex shader: | |
#include <metal_stdlib> | |
#include <simd/simd.h> | |
using namespace metal; | |
struct main0_out | |
{ | |
float4 gl_Position [[position]]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct InnerVertexOut { | |
float4 extra : attribute(0); | |
} | |
Struct VertexOut { | |
float4 position : SV_Position; | |
InnerVertexOut innerVertexOut; | |
} | |
struct VertexInput { |