fix(shader): retain scalar bounds with vector loads

(cherry picked from commit 1a34acb301c406ace0aa86610342e3fcb8679825)
This commit is contained in:
krofty authored and trustno1-coder committed 2026-11-27 17:29:34 -08:00
1 parent d937776989
commit 0745a5de72
1 file changed
+1 -1
+1 -1
View File
@@ -7060,7 +7060,7 @@ impl<'a> Lower<'a> {
}
None => self.handle(site, src, false, (11, 0))?,
};
if Self::wide_loads() {
if count > 1 && Self::wide_loads() {
for (k, x) in self.raw_dwords(h, addr, count).into_iter().enumerate() {
self.write(inst, Reg::S(code + k as u8), x, None);
}