Skip to content
Snippets Groups Projects
Unverified Commit 3bd5f012 authored by Hexagon12's avatar Hexagon12 Committed by GitHub
Browse files

Merge pull request #2469 from lioncash/copyable

video_core/engines/maxwell_3d: Add is_trivially_copyable_v check for Regs
parents a6ed792a c212fc9b
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@
#include <array>
#include <bitset>
#include <type_traits>
#include <unordered_map>
#include <vector>
......@@ -1107,6 +1108,7 @@ public:
} regs{};
static_assert(sizeof(Regs) == Regs::NUM_REGS * sizeof(u32), "Maxwell3D Regs has wrong size");
static_assert(std::is_trivially_copyable_v<Regs>, "Maxwell3D Regs must be trivially copyable");
struct State {
struct ConstBufferInfo {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment