Home
last modified time | relevance | path

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

/external/mesa3d/src/intel/compiler/
Dbrw_fs_visitor.cpp160 fs_builder abld = bld.annotate("compute pixel centers"); in emit_interpolation_setup_gen4() local
165 abld.ADD(this->pixel_x, in emit_interpolation_setup_gen4()
168 abld.ADD(this->pixel_y, in emit_interpolation_setup_gen4()
172 abld = bld.annotate("compute pixel deltas from v0"); in emit_interpolation_setup_gen4()
182 abld.quarter(i).ADD(quarter(offset(delta_xy, abld, 0), i), in emit_interpolation_setup_gen4()
184 abld.quarter(i).ADD(quarter(offset(delta_xy, abld, 1), i), in emit_interpolation_setup_gen4()
188 abld.ADD(offset(delta_xy, abld, 0), this->pixel_x, xstart); in emit_interpolation_setup_gen4()
189 abld.ADD(offset(delta_xy, abld, 1), this->pixel_y, ystart); in emit_interpolation_setup_gen4()
192 abld = bld.annotate("compute pos.w and 1/pos.w"); in emit_interpolation_setup_gen4()
197 abld.emit(FS_OPCODE_LINTERP, wpos_w, delta_xy, in emit_interpolation_setup_gen4()
[all …]
Dbrw_fs_nir.cpp160 const fs_builder abld = v->bld.annotate("gl_InvocationID", NULL); in emit_system_values_block() local
162 fs_reg iid = abld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_system_values_block()
163 abld.SHR(iid, g1, brw_imm_ud(27u)); in emit_system_values_block()
202 const fs_builder abld = in emit_system_values_block() local
216 fs_reg shifted = abld.vgrf(BRW_REGISTER_TYPE_UW, 1); in emit_system_values_block()
219 const fs_builder hbld = abld.group(MIN2(16, v->dispatch_width), i); in emit_system_values_block()
237 inverted = abld.vgrf(BRW_REGISTER_TYPE_UW); in emit_system_values_block()
238 abld.NOT(inverted, shifted); in emit_system_values_block()
244 fs_reg anded = abld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_system_values_block()
245 abld.AND(anded, inverted, brw_imm_uw(1)); in emit_system_values_block()
[all …]
Dbrw_fs.cpp1369 const fs_builder abld = bld.annotate("compute sample position"); in emit_samplepos_setup() local
1387 fetch_payload_reg(abld, payload.sample_pos_reg, BRW_REGISTER_TYPE_W); in emit_samplepos_setup()
1390 abld.MOV(int_sample_x, subscript(sample_pos_reg, BRW_REGISTER_TYPE_B, 0)); in emit_samplepos_setup()
1391 compute_sample_position(offset(pos, abld, 0), int_sample_x); in emit_samplepos_setup()
1394 abld.MOV(int_sample_y, subscript(sample_pos_reg, BRW_REGISTER_TYPE_B, 1)); in emit_samplepos_setup()
1395 compute_sample_position(offset(pos, abld, 1), int_sample_y); in emit_samplepos_setup()
1406 const fs_builder abld = bld.annotate("compute sample id"); in emit_sampleid_setup() local
1414 abld.MOV(*reg, brw_imm_d(0)); in emit_sampleid_setup()
1444 const fs_reg tmp = abld.vgrf(BRW_REGISTER_TYPE_UW); in emit_sampleid_setup()
1447 const fs_builder hbld = abld.group(MIN2(16, dispatch_width), i); in emit_sampleid_setup()
[all …]