From c5808488875484aca814bfc8e526f37f3f447166 Mon Sep 17 00:00:00 2001 From: Omniscient Date: Sat, 15 Jun 2024 16:38:05 +1000 Subject: shinchoku --- src/renderer/ral.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/renderer/ral.c') diff --git a/src/renderer/ral.c b/src/renderer/ral.c index 123c932..e73843b 100644 --- a/src/renderer/ral.c +++ b/src/renderer/ral.c @@ -42,10 +42,11 @@ void vertex_desc_add(vertex_description* builder, const char* name, vertex_attri } vertex_description static_3d_vertex_description() { - vertex_description builder = { .debug_label = "vertex" }; - vertex_desc_add(&builder, "position", ATTR_F32x3); - vertex_desc_add(&builder, "normal", ATTR_F32x3); - vertex_desc_add(&builder, "texCoords", ATTR_F32x2); + vertex_description builder = { .debug_label = "Standard static 3d vertex format" }; + vertex_desc_add(&builder, "inPosition", ATTR_F32x3); + vertex_desc_add(&builder, "inNormal", ATTR_F32x3); + vertex_desc_add(&builder, "inTexCoords", ATTR_F32x2); + builder.use_full_vertex_size = true; return builder; } -- cgit v1.2.3-70-g09d2