2022-11-09 19:54:42 +00:00
|
|
|
#version 450
|
|
|
|
|
|
|
|
layout (location = 0) in vec3 Position;
|
|
|
|
layout (location = 1) in vec2 TexCoord;
|
|
|
|
|
|
|
|
layout (location = 0) out vec2 outTexCoord;
|
|
|
|
|
2024-06-06 05:47:06 +00:00
|
|
|
layout (set = 1, binding = 0) uniform UniformBlock
|
2022-11-09 19:54:42 +00:00
|
|
|
{
|
|
|
|
mat4x4 MatrixTransform;
|
|
|
|
};
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
outTexCoord = TexCoord;
|
|
|
|
gl_Position = MatrixTransform * vec4(Position, 1);
|
|
|
|
}
|