diff options
author | bunnei <bunneidev@gmail.com> | 2023-04-15 01:56:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-15 01:56:34 +0200 |
commit | e0895a85810d76d810b40ade50dc514a459b685e (patch) | |
tree | cf3d44618ee0757f4994917066ba48c3b8151ac6 /src/shader_recompiler/profile.h | |
parent | Merge pull request #10055 from v1993/patch-1 (diff) | |
parent | video_core: Enable ImageGather rounding fix on AMD open source drivers (diff) | |
download | yuzu-e0895a85810d76d810b40ade50dc514a459b685e.tar yuzu-e0895a85810d76d810b40ade50dc514a459b685e.tar.gz yuzu-e0895a85810d76d810b40ade50dc514a459b685e.tar.bz2 yuzu-e0895a85810d76d810b40ade50dc514a459b685e.tar.lz yuzu-e0895a85810d76d810b40ade50dc514a459b685e.tar.xz yuzu-e0895a85810d76d810b40ade50dc514a459b685e.tar.zst yuzu-e0895a85810d76d810b40ade50dc514a459b685e.zip |
Diffstat (limited to 'src/shader_recompiler/profile.h')
-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..9f88fb440 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 different rounding precision when calculating texture pixel + /// coordinates with the 16.8 format in the ImageGather instruction than the Maxwell + /// architecture. 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{}; |