Home
last modified time | relevance | path

Searched refs:abld (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/intel/compiler/
Dbrw_fs_visitor.cpp160 fs_builder abld = bld.annotate("compute pixel centers"); in emit_interpolation_setup_gfx4() local
165 abld.ADD(this->pixel_x, in emit_interpolation_setup_gfx4()
168 abld.ADD(this->pixel_y, in emit_interpolation_setup_gfx4()
172 abld = bld.annotate("compute pixel deltas from v0"); in emit_interpolation_setup_gfx4()
182 abld.quarter(i).ADD(quarter(offset(delta_xy, abld, 0), i), in emit_interpolation_setup_gfx4()
184 abld.quarter(i).ADD(quarter(offset(delta_xy, abld, 1), i), in emit_interpolation_setup_gfx4()
188 abld.ADD(offset(delta_xy, abld, 0), this->pixel_x, xstart); in emit_interpolation_setup_gfx4()
189 abld.ADD(offset(delta_xy, abld, 1), this->pixel_y, ystart); in emit_interpolation_setup_gfx4()
201 abld = bld.annotate("compute pos.w and 1/pos.w"); in emit_interpolation_setup_gfx4()
206 abld.emit(FS_OPCODE_LINTERP, wpos_w, delta_xy, in emit_interpolation_setup_gfx4()
[all …]
Dbrw_fs_nir.cpp164 const fs_builder abld = v->bld.annotate("gl_InvocationID", NULL); in emit_system_values_block() local
166 fs_reg iid = abld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_system_values_block()
167 abld.SHR(iid, g1, brw_imm_ud(27u)); in emit_system_values_block()
206 const fs_builder abld = in emit_system_values_block() local
220 fs_reg shifted = abld.vgrf(BRW_REGISTER_TYPE_UW, 1); in emit_system_values_block()
223 const fs_builder hbld = abld.group(MIN2(16, v->dispatch_width), i); in emit_system_values_block()
241 inverted = abld.vgrf(BRW_REGISTER_TYPE_UW); in emit_system_values_block()
242 abld.NOT(inverted, shifted); in emit_system_values_block()
248 fs_reg anded = abld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_system_values_block()
249 abld.AND(anded, inverted, brw_imm_uw(1)); in emit_system_values_block()
[all …]
Dbrw_fs.cpp1379 const fs_builder abld = bld.annotate("compute sample position"); in emit_samplepos_setup() local
1397 fetch_payload_reg(abld, payload.sample_pos_reg, BRW_REGISTER_TYPE_W); in emit_samplepos_setup()
1400 abld.MOV(int_sample_x, subscript(sample_pos_reg, BRW_REGISTER_TYPE_B, 0)); in emit_samplepos_setup()
1401 compute_sample_position(offset(pos, abld, 0), int_sample_x); in emit_samplepos_setup()
1404 abld.MOV(int_sample_y, subscript(sample_pos_reg, BRW_REGISTER_TYPE_B, 1)); in emit_samplepos_setup()
1405 compute_sample_position(offset(pos, abld, 1), int_sample_y); in emit_samplepos_setup()
1416 const fs_builder abld = bld.annotate("compute sample id"); in emit_sampleid_setup() local
1424 abld.MOV(*reg, brw_imm_d(0)); in emit_sampleid_setup()
1454 const fs_reg tmp = abld.vgrf(BRW_REGISTER_TYPE_UW); in emit_sampleid_setup()
1457 const fs_builder hbld = abld.group(MIN2(16, dispatch_width), i); in emit_sampleid_setup()
[all …]