diff options
author | Wollnashorn <Wollnashorn@users.noreply.github.com> | 2023-04-05 01:29:46 +0200 |
---|---|---|
committer | Wollnashorn <Wollnashorn@users.noreply.github.com> | 2023-04-08 16:12:30 +0200 |
commit | 780240e6979b198e7bd10feaad5399b8b4b63762 (patch) | |
tree | c145f48c66cf003e618cefc63496e3f5b7637f56 /src/shader_recompiler/profile.h | |
parent | Merge pull request #10024 from german77/crysis (diff) | |
download | yuzu-780240e6979b198e7bd10feaad5399b8b4b63762.tar yuzu-780240e6979b198e7bd10feaad5399b8b4b63762.tar.gz yuzu-780240e6979b198e7bd10feaad5399b8b4b63762.tar.bz2 yuzu-780240e6979b198e7bd10feaad5399b8b4b63762.tar.lz yuzu-780240e6979b198e7bd10feaad5399b8b4b63762.tar.xz yuzu-780240e6979b198e7bd10feaad5399b8b4b63762.tar.zst yuzu-780240e6979b198e7bd10feaad5399b8b4b63762.zip |
Diffstat (limited to '')
-rw-r--r-- | src/shader_recompiler/profile.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shader_recompiler/profile.h b/src/shader_recompiler/profile.h index 253e0d0bd..31390e869 100644 --- a/src/shader_recompiler/profile.h +++ b/src/shader_recompiler/profile.h @@ -52,6 +52,10 @@ struct Profile { bool need_declared_frag_colors{}; /// Prevents fast math optimizations that may cause inaccuracies bool need_fastmath_off{}; + /// Some GPU vendors use a lower fixed point format of 16.8 when calculating pixel coordinates + /// in the ImageGather instruction than the Maxwell architecture does. Applying an offset does + /// fix this mismatching rounding behaviour. + bool need_gather_subpixel_offset{}; /// OpFClamp is broken and OpFMax + OpFMin should be used instead bool has_broken_spirv_clamp{}; |