From 0a2bc7c909f1a392253dad241dab86c196acbe40 Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Fri, 4 Oct 2024 19:48:47 +0300 Subject: [PATCH] HW shaders: Add padding attributes --- src/core/PICA/draw_acceleration.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/PICA/draw_acceleration.cpp b/src/core/PICA/draw_acceleration.cpp index a65fd1b5..1850d819 100644 --- a/src/core/PICA/draw_acceleration.cpp +++ b/src/core/PICA/draw_acceleration.cpp @@ -90,7 +90,6 @@ void GPU::getAcceleratedDrawInfo(PICA::DrawAcceleration& accel, bool indexed) { // Vertex attributes used as padding // 12, 13, 14 and 15 are equivalent to 4, 8, 12 and 16 bytes of padding respectively if (attributeIndex >= 12) [[unlikely]] { - Helpers::panic("Padding attribute"); // Align attribute address up to a 4 byte boundary attributeOffset = (attributeOffset + 3) & -4; attributeOffset += (attributeIndex - 11) << 2;