Home
last modified time | relevance | path

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

/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_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()
266 brw_imm_ud(gs_prog_data->output_vertex_size_hwords)); in emit_urb_write_header()
347 brw_imm_ud(0xffffffffu))); in emit_control_data_bits()
351 brw_imm_ud(6 - log2_bits_per_vertex))); in emit_control_data_bits()
368 emit(SHR(dst_reg(per_slot_offset), dword_index, brw_imm_ud(2u))); in emit_control_data_bits()
370 brw_imm_ud(1u)); in emit_control_data_bits()
382 inst = emit(AND(dst_reg(channel), dword_index, brw_imm_ud(3u))); in emit_control_data_bits()
385 inst = emit(MOV(dst_reg(one), brw_imm_ud(1u))); in emit_control_data_bits()
[all …]
Dbrw_fs_nir.cpp133 abld.SHR(iid, g1, brw_imm_ud(27u)); in emit_system_values_block()
829 bld.AND(result_int, op[0], brw_imm_ud(0x80000000u)); in nir_emit_alu()
831 inst = bld.OR(result_int, result_int, brw_imm_ud(0x3f800000u)); in nir_emit_alu()
853 brw_imm_ud(0x80000000u)); in nir_emit_alu()
856 bld.OR(r, r, brw_imm_ud(0x3ff00000u))); in nir_emit_alu()
1237 brw_imm_ud(0x80000000)); in nir_emit_alu()
1627 brw_imm_ud(size - base - 1), BRW_CONDITIONAL_L); in get_nir_image_deref()
1631 bld.MUL(tmp, tmp, brw_imm_ud(element_size * 4)); in get_nir_image_deref()
1650 indirect, brw_imm_ud((indirect_max + 1) * 4)); in get_nir_image_deref()
1823 abld.ADD(prev_count, vertex_count, brw_imm_ud(0xffffffffu)); in emit_gs_end_primitive()
[all …]
Dbrw_vec4_generator.cpp250 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()
447 brw_imm_ud(src0.ud * src1.ud)); in generate_gs_set_write_offset()
572 brw_SHL(p, dst, dst, brw_imm_ud(4)); in generate_gs_prepare_channel_masks()
654 brw_imm_ud(GEN7_GS_PAYLOAD_INSTANCE_ID_SHIFT)); in generate_gs_get_instance_id()
669 brw_imm_ud(0xffffu)); in generate_gs_ff_sync_set_primitives()
670 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_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_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_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()
462 inst->src[1] = brw_imm_ud(index); in nir_emit_intrinsic()
486 surf_index = brw_imm_ud(index); in nir_emit_intrinsic()
491 brw_imm_ud(prog_data->base.binding_table.ssbo_start))); in nir_emit_intrinsic()
503 offset_reg = brw_imm_ud(const_offset->u32[0]); in nir_emit_intrinsic()
605 brw_imm_ud(4 * skipped_channels))); in nir_emit_intrinsic()
648 surf_index = brw_imm_ud(index); in nir_emit_intrinsic()
654 brw_imm_ud(prog_data->base.binding_table.ssbo_start))); in nir_emit_intrinsic()
668 offset_reg = brw_imm_ud(const_offset->u32[0]); in nir_emit_intrinsic()
[all …]
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()
265 vertex_const ? src_reg(brw_imm_ud(vertex_const->u32[0])) in nir_emit_intrinsic()
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_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_fs_generator.cpp365 brw_imm_ud(0x1 << 11)); in generate_fb_write()
372 brw_imm_ud(inst->target)); in generate_fb_write()
380 brw_imm_ud(0x1 << 14)); in generate_fb_write()
408 brw_imm_ud(1<<26)); in generate_fb_write()
411 int jmp = brw_JMPI(p, brw_imm_ud(0), BRW_PREDICATE_NORMAL) - p->store; in generate_fb_write()
555 brw_set_src1(p, send, brw_imm_ud(0u)); in generate_urb_read()
968 brw_imm_ud(inst->offset)); in generate_tex()
1015 brw_OR(p, addr, surface_reg, brw_imm_ud(sampler_reg.ud << 8)); in generate_tex()
1017 brw_SHL(p, addr, sampler_reg, brw_imm_ud(8)); in generate_tex()
1022 brw_ADD(p, addr, addr, brw_imm_ud(base_binding_table_index)); in generate_tex()
[all …]
Dbrw_fs_surface_builder.cpp48 addr, src, usurface, brw_imm_ud(dims), brw_imm_ud(arg) in emit_send()
714 bld.SHL(tmp, offset(src, bld, c), brw_imm_ud(shifts[c] % 32)); in emit_pack()
746 brw_imm_ud(32 - shifts[c] % 32 - widths[c])); in emit_unpack()
752 offset(dst, bld, c), brw_imm_ud(32 - widths[c])); in emit_unpack()
899 offset(dst, bld, c), brw_imm_ud(15 - widths[c])); in emit_convert_from_float()
940 brw_imm_ud(15 - widths[c])); in emit_convert_to_float()
960 : fs_reg(brw_imm_ud(pad[c]))); in emit_pad()
Dbrw_fs_visitor.cpp385 brw_imm_ud(components) in emit_single_fb_write()
597 per_slot_offsets = brw_imm_ud(output_vertex_size_owords * in emit_urb_writes()
602 brw_imm_ud(output_vertex_size_owords)); in emit_urb_writes()
637 bld.MOV(zero, brw_imm_ud(0u)); in emit_urb_writes()
799 bld.exec_all().group(8, 0).MOV(payload, brw_imm_ud(0u)); in emit_barrier()
804 brw_imm_ud(barrier_id_mask)); in emit_barrier()
Dbrw_vec4_visitor.cpp415 emit(MOV(tmp_dst, brw_imm_ud(0x12345678u))); in emit_pack_half_2x16()
434 emit(SHL(dst, tmp_src, brw_imm_ud(16u))); in emit_pack_half_2x16()
473 emit(AND(tmp_dst, src0, brw_imm_ud(0xffffu))); in emit_unpack_half_2x16()
476 emit(SHR(tmp_dst, src0, brw_imm_ud(16u))); in emit_unpack_half_2x16()
943 emit(MOV(dest, brw_imm_ud(0u))); in emit_texture()
1188 emit(MOV(header1, brw_imm_ud(0u))); in emit_psiz_and_flags()
1228 inst = emit(OR(header1_w, src_reg(header1_w), brw_imm_ud(1u << 6))); in emit_psiz_and_flags()
1237 emit(MOV(retype(reg, BRW_REGISTER_TYPE_UD), brw_imm_ud(0u))); in emit_psiz_and_flags()
1728 brw_imm_ud(reg_offset * 16))); in emit_pull_constant_load()
1733 brw_imm_ud(reg_offset * 16))); in emit_pull_constant_load()
[all …]
Dbrw_eu_emit.c2004 brw_imm_ud(offset)); in brw_oword_block_write_scratch()
2120 brw_MOV(p, get_element_ud(mrf, 2), brw_imm_ud(offset)); in brw_oword_block_read_scratch()
2223 brw_imm_ud(offset)); in brw_oword_block_read()
2424 brw_imm_ud(16 * (sampler / 16) * sampler_state_size)); in brw_adjust_sampler_state_pointer()
2434 brw_AND(p, temp, get_element_ud(sampler_index, 0), brw_imm_ud(0x0f0)); in brw_adjust_sampler_state_pointer()
2435 brw_SHL(p, temp, temp, brw_imm_ud(4)); in brw_adjust_sampler_state_pointer()
2471 brw_imm_ud(0xff00)); in brw_urb_WRITE()
2535 brw_OR(p, addr, desc, brw_imm_ud(0)); in brw_send_indirect_message()
2581 brw_imm_ud(0xff)); in brw_send_indirect_surface_message()
3387 brw_SHR(p, vec1(dst), mask, brw_imm_ud(qtr_control * 8)); in brw_find_live_channel()
[all …]
Dbrw_fs.cpp181 bld.ADD(vec4_offset, varying_offset, brw_imm_ud(const_offset & ~0xf)); in VARYING_PULL_CONSTANT_LOAD()
566 ibld.AND(ibld.null_reg_ud(), reset, brw_imm_ud(1u))); in emit_shader_time_end()
581 cbld.ADD(diff, diff, brw_imm_ud(-2u)); in emit_shader_time_end()
583 SHADER_TIME_ADD(cbld, 1, brw_imm_ud(1u)); in emit_shader_time_end()
585 SHADER_TIME_ADD(cbld, 2, brw_imm_ud(1u)); in emit_shader_time_end()
1297 brw_imm_ud(0xc0)); in emit_sampleid_setup()
2298 dst, brw_imm_ud(index), brw_imm_ud(base & ~(block_sz - 1))); in lower_constant_loads()
2316 brw_imm_ud(index), in lower_constant_loads()
3034 inst->src[0] = brw_imm_ud(0u); in eliminate_find_live_channel()
3422 brw_imm_ud(inst->src[1].ud / 16)); in lower_uniform_pull_constant_loads()
[all …]
Dbrw_vec4_gs_nir.cpp113 emit(MOV(dest, brw_imm_ud(0))); in nir_emit_intrinsic()
Dbrw_vec4_surface_builder.cpp146 bld.emit(op, dst, src_reg(payload), usurface, brw_imm_ud(arg)); in emit_send()
Dbrw_vec4.cpp832 inst->src[0] = brw_imm_ud(0u); in opt_algebraic()
1886 vec4_instruction *test = emit(AND(dst_null_ud(), reset_end, brw_imm_ud(1u))); in emit_shader_time_end()
1900 emit(ADD(diff, src_reg(diff), brw_imm_ud(-2u))); in emit_shader_time_end()
1903 emit_shader_time_write(1, brw_imm_ud(1u)); in emit_shader_time_end()
1905 emit_shader_time_write(2, brw_imm_ud(1u)); in emit_shader_time_end()
Dbrw_reg.h629 brw_imm_ud(unsigned ud) in brw_imm_ud() function
Dtest_fs_cmod_propagation.cpp171 fs_reg zero(brw_imm_ud(0u)); in TEST_F()
Dtest_vec4_cmod_propagation.cpp257 src_reg zero(brw_imm_ud(0u)); in TEST_F()
/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()