summaryrefslogtreecommitdiff
path: root/src/video_core/shader/shader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/shader/shader.cpp')
-rw-r--r--src/video_core/shader/shader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/shader.cpp b/src/video_core/shader/shader.cpp
index 2c6e45ac4..f5f7ea61d 100644
--- a/src/video_core/shader/shader.cpp
+++ b/src/video_core/shader/shader.cpp
@@ -26,7 +26,7 @@ OutputVertex OutputVertex::FromAttributeBuffer(const Regs& regs, AttributeBuffer
26 OutputVertex ret{}; 26 OutputVertex ret{};
27 std::array<float24, 24> vertex_slots; 27 std::array<float24, 24> vertex_slots;
28 }; 28 };
29 static_assert(sizeof(vertex_slots) <= sizeof(ret), "Struct and array have different sizes."); 29 static_assert(sizeof(vertex_slots) == sizeof(ret), "Struct and array have different sizes.");
30 30
31 unsigned int num_attributes = regs.vs_output_total; 31 unsigned int num_attributes = regs.vs_output_total;
32 ASSERT(num_attributes <= 7); 32 ASSERT(num_attributes <= 7);