shader: share indirect texture dispatch with image loads

This commit is contained in:
nmzik committed 2026-10-09 15:06:39 +00:00
1 parent 5b68a26cce
commit 71c7261740
4 files changed
+190 -136

No files matched your search

@@ -1434,7 +1434,8 @@ void ApplyResourceSpecialization(Program& program, const ResourceSpecialization&
EXIT_IF(memory.sampler == UINT32_MAX);
}
EXIT_IF(image.indirect_root == memory.resource &&
inst.GetOpcode() != ValueOpcode::ImageSampleRaw);
inst.GetOpcode() != ValueOpcode::ImageSampleRaw &&
inst.GetOpcode() != ValueOpcode::ImageRead);
}
}
for (auto& memory: memory_info) {