• Home
  • Raw
  • Download

Lines Matching refs:abld

160             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()
247 fs_reg dst = abld.vgrf(BRW_REGISTER_TYPE_D, 1); in emit_system_values_block()
248 abld.MOV(dst, negate(retype(anded, BRW_REGISTER_TYPE_D))); in emit_system_values_block()
273 const fs_builder abld = bld.annotate("gl_SubgroupInvocation", NULL); in nir_emit_system_values() local
275 reg = abld.vgrf(BRW_REGISTER_TYPE_UW); in nir_emit_system_values()
277 const fs_builder allbld8 = abld.group(8, 0).exec_all(); in nir_emit_system_values()
282 const fs_builder allbld16 = abld.group(16, 0).exec_all(); in nir_emit_system_values()
468 const fs_builder abld = bld.annotate(NULL, instr); in nir_emit_instr() local
472 nir_emit_alu(abld, nir_instr_as_alu(instr), true); in nir_emit_instr()
482 nir_emit_vs_intrinsic(abld, nir_instr_as_intrinsic(instr)); in nir_emit_instr()
485 nir_emit_tcs_intrinsic(abld, nir_instr_as_intrinsic(instr)); in nir_emit_instr()
488 nir_emit_tes_intrinsic(abld, nir_instr_as_intrinsic(instr)); in nir_emit_instr()
491 nir_emit_gs_intrinsic(abld, nir_instr_as_intrinsic(instr)); in nir_emit_instr()
494 nir_emit_fs_intrinsic(abld, nir_instr_as_intrinsic(instr)); in nir_emit_instr()
498 nir_emit_cs_intrinsic(abld, nir_instr_as_intrinsic(instr)); in nir_emit_instr()
506 nir_emit_texture(abld, nir_instr_as_tex(instr)); in nir_emit_instr()
510 nir_emit_load_const(abld, nir_instr_as_load_const(instr)); in nir_emit_instr()
521 nir_emit_jump(abld, nir_instr_as_jump(instr)); in nir_emit_instr()
2142 const fs_builder abld = bld.annotate("end primitive"); in emit_gs_end_primitive() local
2146 abld.ADD(prev_count, vertex_count, brw_imm_ud(0xffffffffu)); in emit_gs_end_primitive()
2147 fs_reg mask = intexp2(abld, prev_count); in emit_gs_end_primitive()
2153 abld.OR(this->control_data_bits, this->control_data_bits, mask); in emit_gs_end_primitive()
2164 const fs_builder abld = bld.annotate("emit control data bits"); in emit_gs_control_data_bits() local
2216 abld.ADD(prev_count, vertex_count, brw_imm_ud(0xffffffffu)); in emit_gs_control_data_bits()
2219 abld.SHR(dword_index, prev_count, brw_imm_ud(6u - log2_bits_per_vertex)); in emit_gs_control_data_bits()
2225 abld.SHR(per_slot_offset, dword_index, brw_imm_ud(2u)); in emit_gs_control_data_bits()
2257 abld.LOAD_PAYLOAD(payload, sources, mlen, mlen); in emit_gs_control_data_bits()
2258 fs_inst *inst = abld.emit(opcode, reg_undef, payload); in emit_gs_control_data_bits()
2291 const fs_builder abld = bld.annotate("set stream control data bits", NULL); in set_gs_stream_control_data_bits() local
2295 abld.MOV(sid, brw_imm_ud(stream_id)); in set_gs_stream_control_data_bits()
2299 abld.SHL(shift_count, vertex_count, brw_imm_ud(1u)); in set_gs_stream_control_data_bits()
2307 abld.SHL(mask, sid, shift_count); in set_gs_stream_control_data_bits()
2308 abld.OR(this->control_data_bits, this->control_data_bits, mask); in set_gs_stream_control_data_bits()
2343 const fs_builder abld = in emit_gs_vertex() local
2368 abld.AND(bld.null_reg_d(), vertex_count, in emit_gs_vertex()
2372 abld.IF(BRW_PREDICATE_NORMAL); in emit_gs_vertex()
2376 abld.CMP(bld.null_reg_d(), vertex_count, brw_imm_ud(0u), in emit_gs_vertex()
2378 abld.IF(BRW_PREDICATE_NORMAL); in emit_gs_vertex()
2380 abld.emit(BRW_OPCODE_ENDIF); in emit_gs_vertex()
2389 inst = abld.MOV(this->control_data_bits, brw_imm_ud(0u)); in emit_gs_vertex()
2391 abld.emit(BRW_OPCODE_ENDIF); in emit_gs_vertex()