diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-03-11 05:08:28 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-03-13 22:33:05 +0100 |
commit | afebdda2031ca0a39f2816cf56388c04c63ed336 (patch) | |
tree | 85e4b10c35bed619d204dd7ccc77faf6c66cda11 | |
parent | gl_shader_decompiler: Fix implicit conversion errors (diff) | |
download | yuzu-afebdda2031ca0a39f2816cf56388c04c63ed336.tar yuzu-afebdda2031ca0a39f2816cf56388c04c63ed336.tar.gz yuzu-afebdda2031ca0a39f2816cf56388c04c63ed336.tar.bz2 yuzu-afebdda2031ca0a39f2816cf56388c04c63ed336.tar.lz yuzu-afebdda2031ca0a39f2816cf56388c04c63ed336.tar.xz yuzu-afebdda2031ca0a39f2816cf56388c04c63ed336.tar.zst yuzu-afebdda2031ca0a39f2816cf56388c04c63ed336.zip |
-rw-r--r-- | src/video_core/engines/maxwell_3d.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index ba9c76593..8a9e9992e 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -628,12 +628,13 @@ public: float depth_range_far; }; - struct alignas(32) TransformFeedbackBinding { + struct TransformFeedbackBinding { u32 buffer_enable; u32 address_high; u32 address_low; s32 buffer_size; s32 buffer_offset; + INSERT_UNION_PADDING_WORDS(3); GPUVAddr Address() const { return static_cast<GPUVAddr>((static_cast<GPUVAddr>(address_high) << 32) | @@ -642,10 +643,11 @@ public: }; static_assert(sizeof(TransformFeedbackBinding) == 32); - struct alignas(16) TransformFeedbackLayout { + struct TransformFeedbackLayout { u32 stream; u32 varying_count; u32 stride; + INSERT_UNION_PADDING_WORDS(1); }; static_assert(sizeof(TransformFeedbackLayout) == 16); |