Searched refs:abld (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/intel/compiler/ |
D | brw_fs_visitor.cpp | 157 fs_builder abld = bld.annotate("compute pixel centers"); in emit_interpolation_setup_gen4() local 162 abld.ADD(this->pixel_x, in emit_interpolation_setup_gen4() 165 abld.ADD(this->pixel_y, in emit_interpolation_setup_gen4() 169 abld = bld.annotate("compute pixel deltas from v0"); in emit_interpolation_setup_gen4() 179 abld.half(i).ADD(half(offset(delta_xy, abld, i), 0), in emit_interpolation_setup_gen4() 181 abld.half(i).ADD(half(offset(delta_xy, abld, i), 1), in emit_interpolation_setup_gen4() 185 abld.ADD(offset(delta_xy, abld, 0), this->pixel_x, xstart); in emit_interpolation_setup_gen4() 186 abld.ADD(offset(delta_xy, abld, 1), this->pixel_y, ystart); in emit_interpolation_setup_gen4() 189 abld = bld.annotate("compute pos.w and 1/pos.w"); in emit_interpolation_setup_gen4() 194 abld.emit(FS_OPCODE_LINTERP, wpos_w, delta_xy, in emit_interpolation_setup_gen4() [all …]
|
D | brw_fs_nir.cpp | 130 const fs_builder abld = v->bld.annotate("gl_InvocationID", NULL); in emit_system_values_block() local 132 fs_reg iid = abld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_system_values_block() 133 abld.SHR(iid, g1, brw_imm_ud(27u)); in emit_system_values_block() 171 const fs_builder abld = in emit_system_values_block() local 185 fs_reg shifted = abld.vgrf(BRW_REGISTER_TYPE_UW, 1); in emit_system_values_block() 186 abld.SHR(shifted, in emit_system_values_block() 202 inverted = abld.vgrf(BRW_REGISTER_TYPE_UW); in emit_system_values_block() 203 abld.NOT(inverted, shifted); in emit_system_values_block() 209 fs_reg anded = abld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_system_values_block() 210 abld.AND(anded, inverted, brw_imm_uw(1)); in emit_system_values_block() [all …]
|
D | brw_fs.cpp | 1172 const fs_builder abld = bld.annotate("compute sample position"); in emit_samplepos_setup() local 1194 abld.MOV(int_sample_x, fs_reg(sample_pos_reg)); in emit_samplepos_setup() 1196 abld.half(0).MOV(half(int_sample_x, 0), fs_reg(sample_pos_reg)); in emit_samplepos_setup() 1197 abld.half(1).MOV(half(int_sample_x, 1), in emit_samplepos_setup() 1202 pos = offset(pos, abld, 1); in emit_samplepos_setup() 1204 abld.MOV(int_sample_y, fs_reg(suboffset(sample_pos_reg, 1))); in emit_samplepos_setup() 1206 abld.half(0).MOV(half(int_sample_y, 0), in emit_samplepos_setup() 1208 abld.half(1).MOV(half(int_sample_y, 1), in emit_samplepos_setup() 1223 const fs_builder abld = bld.annotate("compute sample id"); in emit_sampleid_setup() local 1231 abld.MOV(*reg, brw_imm_d(0)); in emit_sampleid_setup() [all …]
|