shader: query dimensions through shared indirect image selection

This commit is contained in:
nmzik committed 2026-10-19 02:34:25 +02:00
1 parent de81300b28
commit 09c993dfe0
4 files changed
+99 -10

No files matched your search

@@ -1972,6 +1972,7 @@ void ApplyResourceSpecialization(Program& program, const ResourceSpecialization&
EXIT_IF(image.indirect_root == memory.resource &&
inst.GetOpcode() != ValueOpcode::ImageSampleRaw &&
inst.GetOpcode() != ValueOpcode::ImageGatherRaw &&
inst.GetOpcode() != ValueOpcode::ImageQueryDimensions &&
inst.GetOpcode() != ValueOpcode::ImageRead &&
inst.GetOpcode() != ValueOpcode::ImageWrite);
}