1 struct TransformComponents
8 TransformComponents components;
15 #pragma MSP stage(vertex)
16 layout(location=0) in vec4 position;
19 gl_Position = vec4(model.transform.components.position+position.xyz*model.transform.components.scale, 1.0);
24 /* Expected output: vertex
25 struct TransformComponents
32 TransformComponents components;
34 layout(set=0, binding=62) uniform ModelData
38 layout(location=0) in vec4 position;
41 gl_Position = vec4(model.transform.components.position+position.xyz*model.transform.components.scale, 1.0);