diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-05-14 08:41:51 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-05-14 08:47:56 -0400 |
| commit | b66f9188cb8e8f11086c5901f1d07da399d501b7 (patch) | |
| tree | 57334dcfdfb201ee4e982010ce5e1144b19d8b62 /src/core/file_sys/kernel_executable.cpp | |
| parent | 9415bf9da58f2c848fa0f1b7704a869462926a52 (diff) | |
video_core/engines/maxwell_3d: Add is_trivially_copyable_v check for Regs
std::memset is used to clear the entire register structure, which
requires that the Regs struct be trivially copyable (otherwise undefined
behavior is invoked). This prevents the case where a non-trivial type is
potentially added to the struct.
Diffstat (limited to 'src/core/file_sys/kernel_executable.cpp')
0 files changed, 0 insertions, 0 deletions
