summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-03-13 11:43:06 +0100
committerGitHub <noreply@github.com>2022-03-13 11:43:06 +0100
commit8decc8d1a567e81d5909e856aac6db66fff331eb (patch)
tree9f8daf3178e50d6973c8875d15280f9cc3c25c9b /src/shader_recompiler
parentMerge pull request #8009 from ameerj/dynarmic-exclusives-config (diff)
parentemit_spirv, vk_compute_pass: Resolve VS2022 compiler errors (diff)
downloadyuzu-8decc8d1a567e81d5909e856aac6db66fff331eb.tar
yuzu-8decc8d1a567e81d5909e856aac6db66fff331eb.tar.gz
yuzu-8decc8d1a567e81d5909e856aac6db66fff331eb.tar.bz2
yuzu-8decc8d1a567e81d5909e856aac6db66fff331eb.tar.lz
yuzu-8decc8d1a567e81d5909e856aac6db66fff331eb.tar.xz
yuzu-8decc8d1a567e81d5909e856aac6db66fff331eb.tar.zst
yuzu-8decc8d1a567e81d5909e856aac6db66fff331eb.zip
Diffstat (limited to 'src/shader_recompiler')
-rw-r--r--src/shader_recompiler/backend/spirv/emit_spirv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv.h b/src/shader_recompiler/backend/spirv/emit_spirv.h
index b412957c7..2b360e073 100644
--- a/src/shader_recompiler/backend/spirv/emit_spirv.h
+++ b/src/shader_recompiler/backend/spirv/emit_spirv.h
@@ -22,7 +22,7 @@ constexpr u32 NUM_TEXTURE_AND_IMAGE_SCALING_WORDS =
struct RescalingLayout {
alignas(16) std::array<u32, NUM_TEXTURE_SCALING_WORDS> rescaling_textures;
alignas(16) std::array<u32, NUM_IMAGE_SCALING_WORDS> rescaling_images;
- alignas(16) u32 down_factor;
+ u32 down_factor;
};
constexpr u32 RESCALING_LAYOUT_WORDS_OFFSET = offsetof(RescalingLayout, rescaling_textures);
constexpr u32 RESCALING_LAYOUT_DOWN_FACTOR_OFFSET = offsetof(RescalingLayout, down_factor);