GPU: Align presenter/backends to cache line

pull/3357/head
Stenzek 10 months ago
parent dd9788262e
commit da13579356
No known key found for this signature in database

@ -27,7 +27,7 @@ struct MemorySaveState;
// DESIGN NOTE: Only static methods should be called on the CPU thread.
// You specifically don't have a global pointer available for this reason.
class GPUBackend
class ALIGN_TO_CACHE_LINE GPUBackend
{
public:
static GPUThreadCommand* NewClearVRAMCommand();

@ -23,7 +23,7 @@ struct GPUSettings;
struct GPUBackendUpdateDisplayCommand;
struct GPUBackendFramePresentationParameters;
class GPUPresenter final
class ALIGN_TO_CACHE_LINE GPUPresenter final
{
public:
GPUPresenter();

Loading…
Cancel
Save