Home
last modified time | relevance | path

Searched refs:brw_imm_ud (Results 1 – 25 of 29) sorted by relevance

12

/external/mesa3d/src/intel/compiler/
Dgen6_gs_visitor.cpp69 emit(MOV(dst_reg(this->vertex_output_offset), brw_imm_ud(0u))); in emit_prolog()
91 emit(MOV(dst_reg(this->first_vertex), brw_imm_ud(URB_WRITE_PRIM_START))); in emit_prolog()
97 emit(MOV(dst_reg(this->prim_count), brw_imm_ud(0u))); in emit_prolog()
174 this->vertex_output_offset, brw_imm_ud(1u))); in gs_emit_vertex()
187 emit(ADD(dst_reg(this->prim_count), this->prim_count, brw_imm_ud(1u))); in gs_emit_vertex()
195 brw_imm_ud(gs_prog_data->output_topology << in gs_emit_vertex()
197 emit(MOV(dst_reg(this->first_vertex), brw_imm_ud(0u))); in gs_emit_vertex()
200 this->vertex_output_offset, brw_imm_ud(1u))); in gs_emit_vertex()
224 brw_imm_ud(num_output_vertices + 1), BRW_CONDITIONAL_L)); in gs_end_primitive()
226 this->vertex_count, brw_imm_ud(0u), in gs_end_primitive()
[all …]
Dbrw_clip_tri.c141 brw_AND(p, tmp0, get_element_ud(c->reg.R0, 2), brw_imm_ud(PRIM_MASK)); in brw_clip_tri_init_vertices()
146 brw_imm_ud(_3DPRIM_TRISTRIP_REVERSE)); in brw_clip_tri_init_vertices()
169 brw_MOV(p, c->reg.nr_verts, brw_imm_ud(3)); in brw_clip_tri_init_vertices()
179 brw_AND(p, tmp0, get_element_ud(c->reg.R0, 2), brw_imm_ud(PRIM_MASK)); in brw_clip_tri_flat_shade()
184 brw_imm_ud(_3DPRIM_POLYGON)); in brw_clip_tri_flat_shade()
198 brw_imm_ud(_3DPRIM_TRIFAN)); in brw_clip_tri_flat_shade()
234 brw_AND(p, vec1(brw_null_reg()), c->reg.vertex_src_mask, brw_imm_ud(1)); in load_clip_distance()
280 brw_MOV(p, c->reg.vertex_src_mask, brw_imm_ud(0x3fc0)); in brw_clip_tri()
290 brw_AND(p, vec1(brw_null_reg()), c->reg.planemask, brw_imm_ud(1)); in brw_clip_tri()
306 brw_MOV(p, c->reg.nr_verts, brw_imm_ud(0)); in brw_clip_tri()
[all …]
Dbrw_fs_nir.cpp163 abld.SHR(iid, g1, brw_imm_ud(27u)); in emit_system_values_block()
923 bld.AND(result, op[0], brw_imm_ud(0x80000000u)); in emit_fsign()
926 inst = bld.OR(result, result, brw_imm_ud(0x3f800000u)); in emit_fsign()
949 brw_imm_ud(0x80000000u)); in emit_fsign()
953 bld.OR(r, r, brw_imm_ud(0x3ff00000u))); in emit_fsign()
1267 bld.AND(tmp, tmp, retype(brw_imm_ud(1), result.type)); in nir_emit_alu()
1644 brw_imm_ud(0x80000000)); in nir_emit_alu()
2146 abld.ADD(prev_count, vertex_count, brw_imm_ud(0xffffffffu)); in emit_gs_end_primitive()
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()
[all …]
Dbrw_vec4_gs_visitor.cpp168 vec4_instruction *inst = emit(GS_OPCODE_SET_DWORD_2, r0, brw_imm_ud(0u)); in emit_prolog()
176 inst = emit(MOV(dst_reg(this->vertex_count), brw_imm_ud(0u))); in emit_prolog()
191 inst = emit(MOV(dst_reg(this->control_data_bits), brw_imm_ud(0u))); in emit_prolog()
248 brw_imm_ud(gs_prog_data->output_vertex_size_hwords)); in emit_urb_write_header()
323 brw_imm_ud(0xffffffffu))); in emit_control_data_bits()
327 brw_imm_ud(6 - log2_bits_per_vertex))); in emit_control_data_bits()
344 emit(SHR(dst_reg(per_slot_offset), dword_index, brw_imm_ud(2u))); in emit_control_data_bits()
346 brw_imm_ud(1u)); in emit_control_data_bits()
358 inst = emit(AND(dst_reg(channel), dword_index, brw_imm_ud(3u))); in emit_control_data_bits()
361 inst = emit(MOV(dst_reg(one), brw_imm_ud(1u))); in emit_control_data_bits()
[all …]
Dbrw_clip_util.c59 return brw_imm_ud((w<<24) | (z<<16) | (y<<8) | x); in make_plane_ud()
332 brw_MOV(p, get_element_ud(c->reg.R0, 2), brw_imm_ud(header)); in brw_clip_emit_vue()
419 brw_SHR(p, c->reg.planemask, incoming, brw_imm_ud(26)); in brw_clip_init_clipmask()
428 brw_AND(p, tmp, incoming, brw_imm_ud(0xff<<14)); in brw_clip_init_clipmask()
430 brw_AND(p, tmp, incoming, brw_imm_ud(0x3f<<14)); in brw_clip_init_clipmask()
432 brw_SHR(p, tmp, tmp, brw_imm_ud(8)); in brw_clip_init_clipmask()
444 brw_AND(p, brw_null_reg(), c->reg.ff_sync, brw_imm_ud(0x1)); in brw_clip_ff_sync()
448 brw_OR(p, c->reg.ff_sync, c->reg.ff_sync, brw_imm_ud(0x1)); in brw_clip_ff_sync()
467 brw_MOV(p, c->reg.ff_sync, brw_imm_ud(0)); in brw_clip_init_ff_sync()
Dbrw_vec4_generator.cpp241 brw_MOV(p, get_element_ud(header, 2), brw_imm_ud(dw2)); in generate_tex()
311 brw_OR(p, addr, surface_reg, brw_imm_ud(sampler_reg.ud << 8)); in generate_tex()
313 brw_SHL(p, addr, sampler_reg, brw_imm_ud(8)); in generate_tex()
318 brw_ADD(p, addr, addr, brw_imm_ud(base_binding_table_index)); in generate_tex()
319 brw_AND(p, addr, addr, brw_imm_ud(0xfff)); in generate_tex()
446 brw_imm_ud(src0.ud * src1.ud)); in generate_gs_set_write_offset()
568 brw_SHL(p, dst, dst, brw_imm_ud(4)); in generate_gs_prepare_channel_masks()
650 brw_imm_ud(GEN7_GS_PAYLOAD_INSTANCE_ID_SHIFT)); in generate_gs_get_instance_id()
665 brw_imm_ud(0xffffu)); in generate_gs_ff_sync_set_primitives()
666 brw_SHL(p, suboffset(vec1(dst), 0), suboffset(vec1(dst), 0), brw_imm_ud(16)); in generate_gs_ff_sync_set_primitives()
[all …]
Dbrw_clip_line.c151 brw_imm_ud(1<<20)); in clip_and_emit_line()
153 brw_OR(p, c->reg.planemask, c->reg.planemask, brw_imm_ud(0x3f)); in clip_and_emit_line()
160 brw_MOV(p, c->reg.vertex_src_mask, brw_imm_ud(0x3fc0)); in clip_and_emit_line()
170 brw_AND(p, v1_null_ud, c->reg.planemask, brw_imm_ud(1)); in clip_and_emit_line()
175 brw_AND(p, v1_null_ud, c->reg.vertex_src_mask, brw_imm_ud(1)); in clip_and_emit_line()
263 brw_SHR(p, c->reg.planemask, c->reg.planemask, brw_imm_ud(1)); in clip_and_emit_line()
265 brw_SHR(p, c->reg.vertex_src_mask, c->reg.vertex_src_mask, brw_imm_ud(1)); in clip_and_emit_line()
Dbrw_fs_visitor.cpp46 srcs[TEX_LOGICAL_SRC_SAMPLER] = brw_imm_ud(0); in emit_mcs_fetch()
458 brw_imm_ud(components) in emit_single_fb_write()
616 per_slot_offsets = brw_imm_ud(output_vertex_size_owords * in emit_urb_writes()
621 brw_imm_ud(output_vertex_size_owords)); in emit_urb_writes()
656 bld.MOV(zero, brw_imm_ud(0u)); in emit_urb_writes()
828 bld.exec_all().MOV(offset(payload, bld, 1), brw_imm_ud(0x10000u)); in emit_urb_writes()
829 bld.exec_all().MOV(offset(payload, bld, 2), brw_imm_ud(0u)); in emit_urb_writes()
830 bld.exec_all().MOV(offset(payload, bld, 3), brw_imm_ud(0u)); in emit_urb_writes()
831 bld.exec_all().MOV(offset(payload, bld, 4), brw_imm_ud(0u)); in emit_urb_writes()
832 bld.exec_all().MOV(offset(payload, bld, 5), brw_imm_ud(0u)); in emit_urb_writes()
[all …]
Dbrw_vec4_nir.cpp319 ubld.MOV(writemask(offset(tmp, 8, n), WRITEMASK_X), brw_imm_ud(di.i1)); in setup_imm_df()
320 ubld.MOV(writemask(offset(tmp, 8, n), WRITEMASK_Y), brw_imm_ud(di.i2)); in setup_imm_df()
387 surf_index = brw_imm_ud(index); in get_nir_ssbo_intrinsic_index()
391 brw_imm_ud(prog_data->base.binding_table.ssbo_start))); in get_nir_ssbo_intrinsic_index()
450 inst->src[1] = brw_imm_ud(index); in nir_emit_intrinsic()
619 indirect, brw_imm_ud(instr->const_index[1])); in nir_emit_intrinsic()
637 surf_index = brw_imm_ud(index); in nir_emit_intrinsic()
646 brw_imm_ud(prog_data->base.binding_table.ubo_start))); in nir_emit_intrinsic()
653 offset_reg = brw_imm_ud(load_offset & ~15); in nir_emit_intrinsic()
676 emit(ADD(dst_reg(offset_reg), offset_reg, brw_imm_ud(16u))); in nir_emit_intrinsic()
[all …]
Dbrw_compile_sf.c270 brw_JMPI(p, brw_imm_ud(jmpi*nr), BRW_PREDICATE_NONE); in do_flatshade_line()
668 brw_MOV(p, c->m1Cx, brw_imm_ud(0)); in brw_emit_point_sprite_setup()
669 brw_MOV(p, c->m2Cy, brw_imm_ud(0)); in brw_emit_point_sprite_setup()
707 brw_MOV(p, c->m1Cx, brw_imm_ud(0)); /* zero - move out of loop */ in brw_emit_point_setup()
708 brw_MOV(p, c->m2Cy, brw_imm_ud(0)); /* zero - move out of loop */ in brw_emit_point_setup()
767 brw_MOV(p, primmask, brw_imm_ud(1)); in brw_emit_anyprim_setup()
770 brw_AND(p, v1_null_ud, primmask, brw_imm_ud((1<<_3DPRIM_TRILIST) | in brw_emit_anyprim_setup()
782 brw_AND(p, v1_null_ud, primmask, brw_imm_ud((1<<_3DPRIM_LINELIST) | in brw_emit_anyprim_setup()
793 brw_AND(p, v1_null_ud, payload_attr, brw_imm_ud(1<<BRW_SPRITE_POINT_ENABLE)); in brw_emit_anyprim_setup()
Dbrw_vec4_tcs.cpp88 brw_imm_ud(nir->info.tess.tcs_vertices_out), in emit_prolog()
140 emit(TCS_OPCODE_RELEASE_INPUT, header, brw_imm_ud(i), in emit_thread_end()
141 brw_imm_ud(is_unpaired)); in emit_thread_end()
202 brw_imm_ud(dst.writemask << first_component), indirect_offset); in emit_output_urb_read()
231 brw_imm_ud(writemask), indirect_offset); in emit_urb_write()
Dbrw_fs.cpp184 bld.ADD(vec4_offset, varying_offset, brw_imm_ud(const_offset & ~0xf)); in VARYING_PULL_CONSTANT_LOAD()
195 brw_imm_ud(alignment)); in VARYING_PULL_CONSTANT_LOAD()
629 ibld.AND(ibld.null_reg_ud(), reset, brw_imm_ud(1u))); in emit_shader_time_end()
644 cbld.ADD(diff, diff, brw_imm_ud(-2u)); in emit_shader_time_end()
646 SHADER_TIME_ADD(cbld, 1, brw_imm_ud(1u)); in emit_shader_time_end()
648 SHADER_TIME_ADD(cbld, 2, brw_imm_ud(1u)); in emit_shader_time_end()
1484 brw_imm_ud(0xc0)); in emit_sampleid_setup()
2601 dst, brw_imm_ud(index), brw_imm_ud(base & ~(block_sz - 1))); in lower_constant_loads()
2617 brw_imm_ud(index), in lower_constant_loads()
2647 brw_imm_ud(inst->src[0].u64 >> 32)); in opt_algebraic()
[all …]
Dbrw_clip_unfilled.c231 brw_AND(p, tmp0, get_element_ud(c->reg.R0, 2), brw_imm_ud(PRIM_MASK)); in merge_edgeflags()
236 brw_imm_ud(_3DPRIM_POLYGON)); in merge_edgeflags()
243 brw_AND(p, vec1(brw_null_reg()), get_element_ud(c->reg.R0, 2), brw_imm_ud(1<<8)); in merge_edgeflags()
251 brw_AND(p, vec1(brw_null_reg()), get_element_ud(c->reg.R0, 2), brw_imm_ud(1<<9)); in merge_edgeflags()
520 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_NZ, c->reg.planemask, brw_imm_ud(0)); in brw_emit_unfilled_clip()
Dbrw_vec4_visitor.cpp403 emit(MOV(tmp_dst, brw_imm_ud(0x12345678u))); in emit_pack_half_2x16()
422 emit(SHL(dst, tmp_src, brw_imm_ud(16u))); in emit_pack_half_2x16()
461 emit(AND(tmp_dst, src0, brw_imm_ud(0xffffu))); in emit_unpack_half_2x16()
464 emit(SHR(tmp_dst, src0, brw_imm_ud(16u))); in emit_unpack_half_2x16()
799 inst->src[2] = brw_imm_ud(0); /* sampler */ in emit_mcs_fetch()
863 emit(MOV(dest, brw_imm_ud(0u))); in emit_texture()
1098 emit(MOV(header1, brw_imm_ud(0u))); in emit_psiz_and_flags()
1140 inst = emit(OR(header1_w, src_reg(header1_w), brw_imm_ud(1u << 6))); in emit_psiz_and_flags()
1149 emit(MOV(retype(reg, BRW_REGISTER_TYPE_UD), brw_imm_ud(0u))); in emit_psiz_and_flags()
1640 brw_imm_ud(reg_offset * 16))); in emit_pull_constant_load()
[all …]
Dbrw_eu_emit.c2140 brw_imm_ud(offset)); in brw_oword_block_write_scratch()
2255 brw_MOV(p, get_element_ud(mrf, 2), brw_imm_ud(offset)); in brw_oword_block_read_scratch()
2360 brw_imm_ud(offset)); in brw_oword_block_read()
2560 brw_imm_ud(16 * (sampler / 16) * sampler_state_size)); in brw_adjust_sampler_state_pointer()
2571 brw_AND(p, temp, get_element_ud(sampler_index, 0), brw_imm_ud(0x0f0)); in brw_adjust_sampler_state_pointer()
2573 brw_SHL(p, temp, temp, brw_imm_ud(4)); in brw_adjust_sampler_state_pointer()
2610 brw_imm_ud(0xff00)); in brw_urb_WRITE()
2669 brw_OR(p, addr, desc, brw_imm_ud(desc_imm)); in brw_send_indirect_message()
2724 brw_OR(p, addr, desc, brw_imm_ud(desc_imm)); in brw_send_indirect_split_message()
2763 brw_MOV(p, addr, brw_imm_ud(ex_desc.ud | imm_part)); in brw_send_indirect_split_message()
[all …]
Dbrw_vec4_gs_nir.cpp97 emit(MOV(dest, brw_imm_ud(0))); in nir_emit_intrinsic()
Dbrw_fs_reg_allocate.cpp889 brw_imm_ud(spill_offset / 16)); in emit_unspill()
892 fs_reg srcs[] = { brw_imm_ud(0), brw_imm_ud(0), header }; in emit_unspill()
945 brw_imm_ud(spill_offset / 16)); in emit_spill()
948 fs_reg srcs[] = { brw_imm_ud(0), brw_imm_ud(0), header, src }; in emit_spill()
Dbrw_fs_generator.cpp425 brw_imm_ud(1<<26)); in generate_fb_write()
428 int jmp = brw_JMPI(p, brw_imm_ud(0), BRW_PREDICATE_NORMAL) - p->store; in generate_fb_write()
823 brw_set_src1(p, send, brw_imm_ud(0u)); in generate_urb_read()
845 brw_set_src1(p, insn, brw_imm_ud(0u)); in generate_urb_write()
875 brw_set_src1(p, insn, brw_imm_ud(0u)); in generate_cs_terminate()
1260 brw_imm_ud(inst->offset)); in generate_tex()
1567 brw_inst *insn = brw_MOV(p, dst, brw_imm_ud(0)); in generate_scratch_header()
1577 brw_imm_ud(INTEL_MASK(3, 0))); in generate_scratch_header()
1586 brw_imm_ud(INTEL_MASK(31, 10))); in generate_scratch_header()
1654 brw_set_src1(p, insn_and, brw_imm_ud(0x0ff)); in generate_uniform_pull_constant_load_gen7()
[all …]
Dbrw_vec4_tes.cpp174 brw_imm_ud(0x0fffffffu)); in nir_emit_intrinsic()
Dbrw_vec4_surface_builder.cpp128 bld.emit(op, dst, src_reg(payload), usurface, brw_imm_ud(arg)); in emit_send()
Dbrw_fs_scoreboard.cpp1038 brw_imm_ud(TGL_SYNC_NOP)); in emit_inst_dependencies()
1061 brw_imm_ud(TGL_SYNC_NOP)); in emit_inst_dependencies()
Dbrw_vec4.cpp872 inst->src[0] = brw_imm_ud(0u); in opt_algebraic()
1937 vec4_instruction *test = emit(AND(dst_null_ud(), reset_end, brw_imm_ud(1u))); in emit_shader_time_end()
1951 emit(ADD(diff, src_reg(diff), brw_imm_ud(-2u))); in emit_shader_time_end()
1954 emit_shader_time_write(1, brw_imm_ud(1u)); in emit_shader_time_end()
1956 emit_shader_time_write(2, brw_imm_ud(1u)); in emit_shader_time_end()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_ff_gs_emit.c118 brw_MOV(p, get_element_ud(c->reg.header, 2), brw_imm_ud(dw2)); in brw_ff_gs_overwrite_header_dw2()
133 brw_imm_ud(0x1f)); in brw_ff_gs_overwrite_header_dw2_from_r0()
135 get_element_ud(c->reg.header, 2), brw_imm_ud(2)); in brw_ff_gs_overwrite_header_dw2_from_r0()
229 brw_MOV(p, get_element_ud(c->reg.header, 1), brw_imm_ud(num_prim)); in brw_ff_gs_ff_sync()
361 get_element_ud(c->reg.SVBI, 0), brw_imm_ud(num_verts)); in gen6_sol_program()
390 get_element_ud(c->reg.R0, 2), brw_imm_ud(0x1f)); in gen6_sol_program()
398 brw_imm_ud(_3DPRIM_TRISTRIP_REVERSE)); in gen6_sol_program()
504 brw_imm_ud(BRW_GS_EDGE_INDICATOR_0)); in gen6_sol_program()
520 brw_imm_ud(BRW_GS_EDGE_INDICATOR_1)); in gen6_sol_program()
/external/igt-gpu-tools/assembler/
Dbrw_eu_emit.c1090 brw_set_src1(p, insn, brw_imm_ud(0x0)); in brw_NOP()
1194 brw_set_src1(p, insn, brw_imm_ud(0)); in brw_IF()
1395 brw_set_src1(p, insn, brw_imm_ud(0)); in brw_ELSE()
1467 brw_set_src1(p, insn, brw_imm_ud(0)); in brw_ENDIF()
1648 brw_set_src1(p, insn, brw_imm_ud(0)); in brw_WHILE()
1932 brw_imm_ud(offset)); in brw_oword_block_write_scratch()
2040 brw_imm_ud(offset)); in brw_oword_block_read_scratch()
2102 brw_imm_ud(offset)); in brw_oword_block_read()
2263 brw_MOV(p, get_element_ud(m1, 2), brw_imm_ud(newmask << 12)); in brw_SAMPLE()
2346 brw_imm_ud(0xff00)); in brw_urb_WRITE()
Dbrw_reg.h395 brw_imm_ud(unsigned ud) in brw_imm_ud() function

12