summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/ir_opt
diff options
context:
space:
mode:
authorFernandoS27 <fsahmkow27@gmail.com>2021-03-26 20:51:05 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:25 +0200
commitdc1a9a3bed2aa9b0851f07976b0c687172aa3edc (patch)
tree8bfc0b3afc76b1b9a6100dfe8fb60b013927932b /src/shader_recompiler/ir_opt
parentspirv: Add fixed pipeline point size (diff)
downloadyuzu-dc1a9a3bed2aa9b0851f07976b0c687172aa3edc.tar
yuzu-dc1a9a3bed2aa9b0851f07976b0c687172aa3edc.tar.gz
yuzu-dc1a9a3bed2aa9b0851f07976b0c687172aa3edc.tar.bz2
yuzu-dc1a9a3bed2aa9b0851f07976b0c687172aa3edc.tar.lz
yuzu-dc1a9a3bed2aa9b0851f07976b0c687172aa3edc.tar.xz
yuzu-dc1a9a3bed2aa9b0851f07976b0c687172aa3edc.tar.zst
yuzu-dc1a9a3bed2aa9b0851f07976b0c687172aa3edc.zip
Diffstat (limited to 'src/shader_recompiler/ir_opt')
-rw-r--r--src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp
index eb3d1343f..3b00d7c8c 100644
--- a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp
+++ b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp
@@ -382,6 +382,7 @@ void VisitUsages(Info& info, IR::Inst& inst) {
case IR::Opcode::ImageSampleDrefExplicitLod:
case IR::Opcode::ImageGather:
case IR::Opcode::ImageGatherDref:
+ case IR::Opcode::ImageFetch:
case IR::Opcode::ImageQueryDimensions: {
const TextureType type{inst.Flags<IR::TextureInstInfo>().type};
info.uses_sampled_1d |= type == TextureType::Color1D || type == TextureType::ColorArray1D ||