early-access version 3321

This commit is contained in:
pineappleEA
2023-01-21 06:01:07 +01:00
parent 2bbc4de26b
commit 0fd6d23fe5
7 changed files with 18 additions and 6 deletions
@@ -121,8 +121,6 @@ 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);
@@ -73,7 +73,7 @@ IR::Value Sample(TranslatorVisitor& v, u64 insn) {
const IR::Reg reg_a{tlds.src_reg_a};
const IR::Reg reg_b{tlds.src_reg_b};
IR::Value coords;
IR::U32 lod{v.ir.Imm32(0U)};
IR::U32 lod;
IR::Value offsets;
IR::U32 multisample;
Shader::TextureType texture_type{};