jerrrrycho
c95c20933a
fix(render): particle vertex attribute offsets from offsetof in the GL 4.6 and Vulkan renderers
...
The GL 4.6 particles passed 0, 12 and 28 to setup_attrib, the Vulkan layout of
vertex_kind::particle had the stride 36 and the same offsets as numbers. They
now come from sizeof and offsetof of particle_vertex. The Vulkan particle_vertex
moves from vulkan14frame.cpp to vulkan14context.h so the layout in
vulkan14scene.cpp can use it.
A build with static_asserts that each offsetof equals the old number (and the
size 36) compiled; the asserts were taken out after.
2026-11-27 12:11:26 +01:00
..
2026-10-28 12:19:43 +01:00
2026-10-28 12:19:43 +01:00
2026-11-07 22:11:08 +01:00
2026-10-28 12:19:43 +01:00
2026-11-25 09:34:58 +01:00
2026-10-27 20:56:11 +01:00
2026-11-07 22:11:08 +01:00
2026-10-28 20:21:00 +01:00
2026-10-25 03:06:01 +01:00
2026-10-25 03:06:01 +01:00
2026-11-25 15:29:31 +01:00
2026-10-27 20:56:11 +01:00
2026-11-27 12:11:26 +01:00
2026-11-25 15:29:31 +01:00
2026-11-17 01:02:52 +01:00
2026-11-16 22:19:17 +01:00
2026-10-25 19:35:33 +01:00
2026-10-25 19:35:33 +01:00
2026-10-29 18:04:38 +01:00
2026-10-29 18:04:38 +01:00
2026-11-25 09:34:58 +01:00
2026-10-25 20:52:12 +01:00
2026-11-27 12:11:26 +01:00
2026-11-25 15:29:31 +01:00
2026-11-25 15:29:31 +01:00
2026-11-07 22:11:08 +01:00
2026-10-25 03:06:01 +01:00
2026-10-25 20:52:12 +01:00
2026-10-25 20:52:12 +01:00
2026-11-25 15:29:31 +01:00
2026-10-25 19:35:33 +01:00
2026-10-25 19:35:33 +01:00
2026-11-07 22:11:08 +01:00
2026-11-25 09:34:58 +01:00
2026-11-25 09:34:58 +01:00
2026-10-25 03:06:01 +01:00
2026-10-25 03:06:01 +01:00
2026-10-28 20:21:00 +01:00
2026-10-28 20:21:00 +01:00
2026-11-25 15:29:31 +01:00
2026-10-25 17:15:58 +01:00
2026-11-25 10:27:31 +01:00
2026-11-25 15:29:12 +01:00
2026-11-27 12:11:26 +01:00
2026-11-25 15:29:31 +01:00
2026-11-25 10:27:31 +01:00
2026-10-28 20:55:45 +01:00
2026-10-28 20:55:45 +01:00
2026-10-27 20:56:11 +01:00
2026-10-27 17:11:06 +01:00
2026-10-27 16:02:36 +01:00
2026-11-25 09:34:58 +01:00
2026-11-25 09:34:58 +01:00
2026-11-25 15:29:31 +01:00
2026-10-27 20:56:11 +01:00
2026-11-25 15:29:31 +01:00
2026-10-25 03:06:01 +01:00
2026-11-25 15:29:31 +01:00
2026-11-25 10:27:31 +01:00
2026-10-24 05:47:11 +02:00
2026-11-25 15:29:31 +01:00
2026-10-26 15:51:56 +01:00
2026-10-26 15:51:56 +01:00
2026-11-17 01:38:17 +01:00