mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-03-05 22:57:53 +00:00
shader: Always pass a lod for TexelFetch
This commit is contained in:
@@ -124,6 +124,8 @@ void Impl(TranslatorVisitor& v, u64 insn, bool is_bindless) {
|
||||
}
|
||||
if (tld.lod != 0) {
|
||||
lod = v.X(meta_reg++);
|
||||
} else {
|
||||
lod = v.ir.Imm32(0U);
|
||||
}
|
||||
if (tld.aoffi != 0) {
|
||||
offset = MakeOffset(v, meta_reg, tld.type);
|
||||
|
||||
Reference in New Issue
Block a user