early-access version 3325
This commit is contained in:
@@ -121,6 +121,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);
|
||||
|
@@ -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;
|
||||
IR::U32 lod{v.ir.Imm32(0U)};
|
||||
IR::Value offsets;
|
||||
IR::U32 multisample;
|
||||
Shader::TextureType texture_type{};
|
||||
|
Reference in New Issue
Block a user