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 | c67b2ffec058b5db77c19a5a3b80ae0f65cf708a (patch) | |
| tree | 139b2b722b7e7f28aadf994f4f4bf87c2ccd9219 /src/shader_recompiler/frontend/maxwell/translate/impl/texture_fetch.cpp | |
| parent | 453fd52d82cbebdeb20f0d520ef7f5c0a937fe66 (diff) | |
| parent | 01858648d1ea74ec9826c658d115aabc31d46560 (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 2459fc30d9..7a9b7fff8b 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) { |
