diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2023-01-26 23:15:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-26 23:15:23 +0100 |
| commit | 9c9310bf44f0a7b0ad1de2e643f32ec00a553e0e (patch) | |
| tree | 613159524f59f9cabe66791dfa42856026e33ad8 /Source/Core/VideoCommon/ConstantManager.h | |
| parent | 09a8d9591db06ebdbe5abdd3166c76982856fc55 (diff) | |
| parent | 7413be148705866efebd504ef7356377dce81274 (diff) | |
Merge pull request #11208 from TellowKrinkle/CPUCull
Cull vertices on the CPU
Diffstat (limited to 'Source/Core/VideoCommon/ConstantManager.h')
| -rw-r--r-- | Source/Core/VideoCommon/ConstantManager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/ConstantManager.h b/Source/Core/VideoCommon/ConstantManager.h index 6e60929056..88c25a9823 100644 --- a/Source/Core/VideoCommon/ConstantManager.h +++ b/Source/Core/VideoCommon/ConstantManager.h @@ -17,7 +17,7 @@ enum class SrcBlendFactor : u32; enum class ZTexOp : u32; enum class LogicOp : u32; -struct PixelShaderConstants +struct alignas(16) PixelShaderConstants { std::array<int4, 4> colors; std::array<int4, 4> kcolors; @@ -60,7 +60,7 @@ struct PixelShaderConstants LogicOp logic_op_mode; }; -struct VertexShaderConstants +struct alignas(16) VertexShaderConstants { u32 components; // .x u32 xfmem_dualTexInfo; // .y @@ -109,7 +109,7 @@ enum class VSExpand : u32 Line, }; -struct GeometryShaderConstants +struct alignas(16) GeometryShaderConstants { float4 stereoparams; float4 lineptparams; |
