diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-08-22 11:30:08 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-22 11:30:08 -0400 |
| commit | b8bab551a4852395de473412bfc9d3f02f4cc01c (patch) | |
| tree | 139b2b722b7e7f28aadf994f4f4bf87c2ccd9219 /src/shader_recompiler/frontend/maxwell/translate/impl/texture_fetch.cpp | |
| parent | a9f223cd9f2733e208938187fdab6e4e655e3b80 (diff) | |
| parent | c03f0b3c893f2bc2ae4f1e1825c5ac1453c36710 (diff) | |
Merge pull request #11316 from FernandoS27/stop-premature-christmas-decorating
Shader Recompiler: implement textureGrad 3D
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/translate/impl/texture_fetch.cpp')
| -rw-r--r-- | src/shader_recompiler/frontend/maxwell/translate/impl/texture_fetch.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_fetch.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_fetch.cpp index 2459fc30d..7a9b7fff8 100644 --- a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_fetch.cpp +++ b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_fetch.cpp @@ -172,6 +172,7 @@ void Impl(TranslatorVisitor& v, u64 insn, bool aoffi, Blod blod, bool lc, info.is_depth.Assign(tex.dc != 0 ? 1 : 0); info.has_bias.Assign(blod == Blod::LB || blod == Blod::LBA ? 1 : 0); info.has_lod_clamp.Assign(lc ? 1 : 0); + info.ndv_is_active.Assign(tex.ndv != 0 ? 1 : 0); const IR::Value sample{[&]() -> IR::Value { if (tex.dc == 0) { |
