From 1ab68ca5fd0dca505e392348f6eab90fabd85c30 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 5 Jan 2024 22:44:09 +0900 Subject: [PATCH] [vulkan] Correct line vertex input spec I suspect I may have done the incorrect offset for color to get a gradient for some testing, but forgot to put it back. Or, of course, I just completely and utterly brain-farted when writing the attribute. --- libs/video/renderer/vulkan/rp_main_def.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/video/renderer/vulkan/rp_main_def.plist b/libs/video/renderer/vulkan/rp_main_def.plist index 9e67a99e3..13f3b51bb 100644 --- a/libs/video/renderer/vulkan/rp_main_def.plist +++ b/libs/video/renderer/vulkan/rp_main_def.plist @@ -825,7 +825,7 @@ properties = { ); attributes = ( { location = 0; binding = 0; format = r32g32_sfloat; offset = 0; }, - { location = 1; binding = 0; format = r8g8b8a8_unorm; offset = 4; }, + { location = 1; binding = 0; format = r8g8b8a8_unorm; offset = 8; }, ); }; inputAssembly = {