KRPipeline's are now created with the passed in KRMesh::model_format_t
This commit is contained in:
@@ -8,16 +8,11 @@ layout(location = 0) in vec3 vertex_position;
|
||||
layout(location = 1) in vec3 vertex_uv;
|
||||
layout(constant_id = 0) const int QUALITY_LEVEL = 64; // Specialization constant test
|
||||
|
||||
vec2 positions[3] = vec2[](
|
||||
vec2(0.0, -0.5),
|
||||
vec2(0.5, 0.5),
|
||||
vec2(-0.5, 0.5)
|
||||
);
|
||||
|
||||
vec3 colors[3] = vec3[](
|
||||
vec3 colors[4] = vec3[](
|
||||
vec3(1.0, 0.0, 0.0),
|
||||
vec3(0.0, 1.0, 0.0),
|
||||
vec3(0.0, 0.0, 1.0)
|
||||
vec3(0.0, 0.0, 1.0),
|
||||
vec3(1.0, 0.0, 1.0)
|
||||
);
|
||||
|
||||
void main() {
|
||||
|
||||
Reference in New Issue
Block a user