Searched refs:abld (Results 1 – 3 of 3) sorted by relevance
/third_party/mesa3d/src/intel/compiler/ |
D | brw_fs_visitor.cpp | 165 fs_builder abld = bld.annotate("compute pixel centers"); in emit_interpolation_setup_gfx4() local 170 abld.ADD(this->pixel_x, in emit_interpolation_setup_gfx4() 173 abld.ADD(this->pixel_y, in emit_interpolation_setup_gfx4() 177 abld = bld.annotate("compute pixel deltas from v0"); in emit_interpolation_setup_gfx4() 187 abld.quarter(i).ADD(quarter(offset(delta_xy, abld, 0), i), in emit_interpolation_setup_gfx4() 189 abld.quarter(i).ADD(quarter(offset(delta_xy, abld, 1), i), in emit_interpolation_setup_gfx4() 193 abld.ADD(offset(delta_xy, abld, 0), this->pixel_x, xstart); in emit_interpolation_setup_gfx4() 194 abld.ADD(offset(delta_xy, abld, 1), this->pixel_y, ystart); in emit_interpolation_setup_gfx4() 206 abld = bld.annotate("compute pos.w and 1/pos.w"); in emit_interpolation_setup_gfx4() 211 abld.emit(FS_OPCODE_LINTERP, wpos_w, delta_xy, in emit_interpolation_setup_gfx4() [all …]
|
D | brw_fs_nir.cpp | 172 const fs_builder abld = v->bld.annotate("gl_InvocationID", NULL); in emit_system_values_block() local 174 fs_reg iid = abld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_system_values_block() 175 abld.SHR(iid, g1, brw_imm_ud(27u)); in emit_system_values_block() 214 const fs_builder abld = in emit_system_values_block() local 228 fs_reg shifted = abld.vgrf(BRW_REGISTER_TYPE_UW, 1); in emit_system_values_block() 231 const fs_builder hbld = abld.group(MIN2(16, v->dispatch_width), i); in emit_system_values_block() 249 inverted = abld.vgrf(BRW_REGISTER_TYPE_UW); in emit_system_values_block() 250 abld.NOT(inverted, shifted); in emit_system_values_block() 256 fs_reg anded = abld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_system_values_block() 257 abld.AND(anded, inverted, brw_imm_uw(1)); in emit_system_values_block() [all …]
|
D | brw_fs.cpp | 1279 const fs_builder abld = bld.annotate("compute sample position"); in emit_samplepos_setup() local 1280 fs_reg pos = abld.vgrf(BRW_REGISTER_TYPE_F, 2); in emit_samplepos_setup() 1305 fetch_payload_reg(abld, payload.sample_pos_reg, BRW_REGISTER_TYPE_W); in emit_samplepos_setup() 1309 abld.MOV(tmp_d, subscript(sample_pos_reg, BRW_REGISTER_TYPE_B, i)); in emit_samplepos_setup() 1312 abld.MOV(tmp_f, tmp_d); in emit_samplepos_setup() 1314 abld.MUL(offset(pos, abld, i), tmp_f, brw_imm_f(1 / 16.0f)); in emit_samplepos_setup() 1327 const fs_builder abld = bld.annotate("compute sample id"); in emit_sampleid_setup() local 1328 fs_reg sample_id = abld.vgrf(BRW_REGISTER_TYPE_UD); in emit_sampleid_setup() 1361 const fs_reg tmp = abld.vgrf(BRW_REGISTER_TYPE_UW); in emit_sampleid_setup() 1364 const fs_builder hbld = abld.group(MIN2(16, dispatch_width), i); in emit_sampleid_setup() [all …]
|