intel/compiler: Remove unused fs_visitor::emit_percomp()
Since 7ef7738a61
("i965: Write gl_FragCoord directly to the destination.") this
is not used.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19586>
This commit is contained in:
@@ -383,9 +383,6 @@ public:
|
||||
fs_reg get_tcs_multi_patch_icp_handle(const brw::fs_builder &bld,
|
||||
nir_intrinsic_instr *instr);
|
||||
|
||||
void emit_percomp(const brw::fs_builder &bld, const fs_inst &inst,
|
||||
unsigned wr_mask);
|
||||
|
||||
bool optimize_extract_to_float(nir_alu_instr *instr,
|
||||
const fs_reg &result);
|
||||
bool optimize_frontfacing_ternary(nir_alu_instr *instr,
|
||||
|
@@ -2125,24 +2125,6 @@ fs_visitor::get_nir_dest(const nir_dest &dest)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
fs_visitor::emit_percomp(const fs_builder &bld, const fs_inst &inst,
|
||||
unsigned wr_mask)
|
||||
{
|
||||
for (unsigned i = 0; i < 4; i++) {
|
||||
if (!((wr_mask >> i) & 1))
|
||||
continue;
|
||||
|
||||
fs_inst *new_inst = new(mem_ctx) fs_inst(inst);
|
||||
new_inst->dst = offset(new_inst->dst, bld, i);
|
||||
for (unsigned j = 0; j < new_inst->sources; j++)
|
||||
if (new_inst->src[j].file == VGRF)
|
||||
new_inst->src[j] = offset(new_inst->src[j], bld, i);
|
||||
|
||||
bld.emit(new_inst);
|
||||
}
|
||||
}
|
||||
|
||||
static fs_inst *
|
||||
emit_pixel_interpolater_send(const fs_builder &bld,
|
||||
enum opcode opcode,
|
||||
|
Reference in New Issue
Block a user