mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
i965/fs: Complete TXL support on gen4.
Initial plumbing existed to turn the ir_txl into OPCODE_TXL, but it was never handled.
This commit is contained in:
parent
e54d62b896
commit
4ddd11aad6
1 changed files with 10 additions and 0 deletions
|
|
@ -2332,6 +2332,16 @@ fs_visitor::generate_tex(fs_inst *inst, struct brw_reg dst, struct brw_reg src)
|
|||
simd_mode = BRW_SAMPLER_SIMD_MODE_SIMD16;
|
||||
}
|
||||
break;
|
||||
case FS_OPCODE_TXL:
|
||||
if (inst->shadow_compare) {
|
||||
assert(inst->mlen == 6);
|
||||
msg_type = BRW_SAMPLER_MESSAGE_SIMD8_SAMPLE_LOD_COMPARE;
|
||||
} else {
|
||||
assert(inst->mlen == 9);
|
||||
msg_type = BRW_SAMPLER_MESSAGE_SIMD16_SAMPLE_LOD;
|
||||
simd_mode = BRW_SAMPLER_SIMD_MODE_SIMD16;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
assert(msg_type != -1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue