summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-06-13 04:28:06 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:35 +0200
commit487057b8d2bd79892423ad3a1b5a96d0407b307a (patch)
tree2015b09c8e2d24c02bd36ddbf21f788973ae4bfe /src
parentvulkan_device: Enable VK_EXT_vertex_input_dynamic_state (diff)
downloadyuzu-487057b8d2bd79892423ad3a1b5a96d0407b307a.tar
yuzu-487057b8d2bd79892423ad3a1b5a96d0407b307a.tar.gz
yuzu-487057b8d2bd79892423ad3a1b5a96d0407b307a.tar.bz2
yuzu-487057b8d2bd79892423ad3a1b5a96d0407b307a.tar.lz
yuzu-487057b8d2bd79892423ad3a1b5a96d0407b307a.tar.xz
yuzu-487057b8d2bd79892423ad3a1b5a96d0407b307a.tar.zst
yuzu-487057b8d2bd79892423ad3a1b5a96d0407b307a.zip
Diffstat (limited to 'src')
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/texture_mipmap_level.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_mipmap_level.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_mipmap_level.cpp
index 667c69a0d..aea3c0e62 100644
--- a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_mipmap_level.cpp
+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_mipmap_level.cpp
@@ -46,6 +46,8 @@ Shader::TextureType GetType(TextureType type) {
}
IR::Value MakeCoords(TranslatorVisitor& v, IR::Reg reg, TextureType type) {
+ // The ISA reads an array component here, but this is not needed on high level shading languages
+ // We are dropping this information.
switch (type) {
case TextureType::_1D:
return v.F(reg);