c212fc9b2c
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. |
||
---|---|---|
.. | ||
engine_upload.cpp | ||
engine_upload.h | ||
fermi_2d.cpp | ||
fermi_2d.h | ||
kepler_compute.cpp | ||
kepler_compute.h | ||
kepler_memory.cpp | ||
kepler_memory.h | ||
maxwell_3d.cpp | ||
maxwell_3d.h | ||
maxwell_dma.cpp | ||
maxwell_dma.h | ||
shader_bytecode.h | ||
shader_header.h |