Home
last modified time | relevance | path

Searched refs:brw_vec1_grf (Results 1 – 16 of 16) sorted by relevance

/third_party/mesa3d/src/intel/compiler/
Dbrw_clip_line.c65 c->reg.t = brw_vec1_grf(i, 0); in brw_clip_line_alloc_regs()
66 c->reg.t0 = brw_vec1_grf(i, 1); in brw_clip_line_alloc_regs()
67 c->reg.t1 = brw_vec1_grf(i, 2); in brw_clip_line_alloc_regs()
68 c->reg.planemask = retype(brw_vec1_grf(i, 3), BRW_REGISTER_TYPE_UD); in brw_clip_line_alloc_regs()
72 c->reg.dp0 = brw_vec1_grf(i, 0); /* fixme - dp4 will clobber r.1,2,3 */ in brw_clip_line_alloc_regs()
73 c->reg.dp1 = brw_vec1_grf(i, 4); in brw_clip_line_alloc_regs()
81 c->reg.vertex_src_mask = retype(brw_vec1_grf(i, 0), BRW_REGISTER_TYPE_UD); in brw_clip_line_alloc_regs()
82 c->reg.clipdistance_offset = retype(brw_vec1_grf(i, 1), BRW_REGISTER_TYPE_W); in brw_clip_line_alloc_regs()
86 c->reg.ff_sync = retype(brw_vec1_grf(i, 0), BRW_REGISTER_TYPE_UD); in brw_clip_line_alloc_regs()
Dbrw_compile_sf.c287 c->pv = retype(brw_vec1_grf(1, 1), BRW_REGISTER_TYPE_D); in alloc_regs()
288 c->det = brw_vec1_grf(1, 2); in alloc_regs()
289 c->dx0 = brw_vec1_grf(1, 3); in alloc_regs()
290 c->dx2 = brw_vec1_grf(1, 4); in alloc_regs()
291 c->dy0 = brw_vec1_grf(1, 5); in alloc_regs()
292 c->dy2 = brw_vec1_grf(1, 6); in alloc_regs()
296 c->z[0] = brw_vec1_grf(2, 0); in alloc_regs()
297 c->inv_w[0] = brw_vec1_grf(2, 1); in alloc_regs()
298 c->z[1] = brw_vec1_grf(2, 2); in alloc_regs()
299 c->inv_w[1] = brw_vec1_grf(2, 3); in alloc_regs()
[all …]
Dbrw_fs_visitor.cpp163 struct brw_reg g1_uw = retype(brw_vec1_grf(1, 0), BRW_REGISTER_TYPE_UW); in emit_interpolation_setup_gfx4()
182 const fs_reg xstart(negate(brw_vec1_grf(1, 0))); in emit_interpolation_setup_gfx4()
183 const fs_reg ystart(negate(brw_vec1_grf(1, 1))); in emit_interpolation_setup_gfx4()
388 struct brw_reg gi_uw = retype(brw_vec1_grf(1 + i, 0), BRW_REGISTER_TYPE_UW); in emit_interpolation_setup_gfx6()
473 const fs_reg x_start = brw_vec1_grf(coef_payload.nr, 2); in emit_interpolation_setup_gfx6()
474 const fs_reg y_start = brw_vec1_grf(coef_payload.nr, 6); in emit_interpolation_setup_gfx6()
475 const fs_reg z_cx = brw_vec1_grf(coef_payload.nr, 1); in emit_interpolation_setup_gfx6()
476 const fs_reg z_cy = brw_vec1_grf(coef_payload.nr, 0); in emit_interpolation_setup_gfx6()
477 const fs_reg z_c0 = brw_vec1_grf(coef_payload.nr, 3); in emit_interpolation_setup_gfx6()
486 const fs_reg u8_cps_width = fs_reg(retype(brw_vec1_grf(1, 0), BRW_REGISTER_TYPE_UB)); in emit_interpolation_setup_gfx6()
[all …]
Dtest_eu_compact.cpp310 struct brw_reg g0 = brw_vec1_grf(0, 0); in TEST_P()
311 struct brw_reg g2 = brw_vec1_grf(2, 0); in TEST_P()
312 struct brw_reg g4 = brw_vec1_grf(4, 0); in TEST_P()
320 struct brw_reg interp = brw_vec1_grf(2, 0); in TEST_P()
Dbrw_clip_tri.c83 c->reg.t = brw_vec1_grf(i, 0); in brw_clip_tri_alloc_regs()
84 c->reg.loopcount = retype(brw_vec1_grf(i, 1), BRW_REGISTER_TYPE_D); in brw_clip_tri_alloc_regs()
85 c->reg.nr_verts = retype(brw_vec1_grf(i, 2), BRW_REGISTER_TYPE_UD); in brw_clip_tri_alloc_regs()
86 c->reg.planemask = retype(brw_vec1_grf(i, 3), BRW_REGISTER_TYPE_UD); in brw_clip_tri_alloc_regs()
90 c->reg.dpPrev = brw_vec1_grf(i, 0); /* fixme - dp4 will clobber r.1,2,3 */ in brw_clip_tri_alloc_regs()
91 c->reg.dp = brw_vec1_grf(i, 4); in brw_clip_tri_alloc_regs()
117 c->reg.vertex_src_mask = retype(brw_vec1_grf(i, 0), BRW_REGISTER_TYPE_UD); in brw_clip_tri_alloc_regs()
118 c->reg.clipdistance_offset = retype(brw_vec1_grf(i, 1), BRW_REGISTER_TYPE_W); in brw_clip_tri_alloc_regs()
122 c->reg.ff_sync = retype(brw_vec1_grf(i, 0), BRW_REGISTER_TYPE_UD); in brw_clip_tri_alloc_regs()
Dbrw_vec4_generator.cpp814 struct brw_reg index_reg = brw_vec1_grf( in generate_tcs_input_urb_offsets()
877 struct brw_reg urb_handle = brw_vec1_grf(0, 0); in generate_tcs_output_urb_offsets()
908 retype(brw_vec1_grf(1, 3), BRW_REGISTER_TYPE_UD), in generate_tes_create_input_read_header()
1015 retype(brw_vec1_grf(0, 0), BRW_REGISTER_TYPE_UD)); in generate_tcs_thread_end()
1036 brw_MOV(p, dst, retype(brw_vec1_grf(1, 7), BRW_REGISTER_TYPE_D)); in generate_tes_get_primitive_id()
1045 brw_MOV(p, dst, retype(brw_vec1_grf(0, 1), BRW_REGISTER_TYPE_UD)); in generate_tcs_get_primitive_id()
1069 retype(brw_vec1_grf(0, 2), BRW_REGISTER_TYPE_UD), in generate_tcs_create_barrier_header()
Dbrw_fs_nir.cpp233 stride(retype(brw_vec1_grf(1 + i, 7), in emit_system_values_block()
560 fs_reg g1 = fs_reg(retype(brw_vec1_grf(1, 1), BRW_REGISTER_TYPE_W)); in optimize_frontfacing_ternary()
576 fs_reg g0 = fs_reg(retype(brw_vec1_grf(0, 0), BRW_REGISTER_TYPE_W)); in optimize_frontfacing_ternary()
597 fs_reg g1_6 = fs_reg(retype(brw_vec1_grf(1, 6), BRW_REGISTER_TYPE_D)); in optimize_frontfacing_ternary()
2587 retype(brw_vec1_grf(first_icp_handle + vertex / 8, vertex % 8), in emit_gs_input_load()
2740 retype(brw_vec1_grf(1 + (vertex >> 3), vertex & 7), in get_tcs_single_patch_icp_handle()
2829 return retype(brw_vec1_grf(0, 0), BRW_REGISTER_TYPE_UD); in get_tcs_output_urb_handle()
2855 : brw_vec1_grf(0, 1))); in nir_emit_tcs_intrinsic()
2881 stride(suboffset(retype(brw_vec1_grf(0, 0), BRW_REGISTER_TYPE_UB), 11), in nir_emit_tcs_intrinsic()
2885 chanbld.AND(m0_2, retype(brw_vec1_grf(0, 2), BRW_REGISTER_TYPE_UD), in nir_emit_tcs_intrinsic()
[all …]
Dbrw_reg.h764 brw_vec1_grf(unsigned nr, unsigned subnr) in brw_vec1_grf() function
1151 struct brw_reg reg = brw_vec1_grf(0, 0); in brw_vec1_indirect()
1161 struct brw_reg reg = brw_vec1_grf(0, 0); in brw_VxH_indirect()
Dbrw_fs.cpp1231 fs_reg g1 = fs_reg(retype(brw_vec1_grf(1, 1), BRW_REGISTER_TYPE_W)); in emit_frontfacing_interpolation()
1248 fs_reg g0 = fs_reg(retype(brw_vec1_grf(0, 0), BRW_REGISTER_TYPE_W)); in emit_frontfacing_interpolation()
1263 fs_reg g1_6 = fs_reg(retype(brw_vec1_grf(1, 6), BRW_REGISTER_TYPE_D)); in emit_frontfacing_interpolation()
1366 stride(retype(brw_vec1_grf(1 + i, 0), BRW_REGISTER_TYPE_UB), in emit_sampleid_setup()
1400 .AND(t1, fs_reg(retype(brw_vec1_grf(0, 0), BRW_REGISTER_TYPE_UD)), in emit_sampleid_setup()
1488 fs_reg actual_x = fs_reg(retype(brw_vec1_grf(1, 0), BRW_REGISTER_TYPE_UB)); in emit_shading_rate_setup()
1599 retype(brw_vec1_grf(0, 0), BRW_REGISTER_TYPE_UD), in assign_curb_setup()
1684 struct brw_reg brw_reg = brw_vec1_grf(payload.num_regs + in assign_curb_setup()
1705 struct brw_reg mask = brw_vec1_grf(payload.num_regs + mask_param / 8, in assign_curb_setup()
4387 return retype(brw_vec1_grf((bld.group() >= 16 ? 2 : 1), 7), in brw_sample_mask_reg()
[all …]
Dbrw_mesh.cpp826 ubld8.MOV(h, retype(brw_vec1_grf(0, subreg), BRW_REGISTER_TYPE_UD)); in get_mesh_urb_handle()
1221 bld.MOV(dest, retype(brw_vec1_grf(payload.num_regs - 1, in nir_emit_task_mesh_intrinsic()
1228 bld.MOV(dest, brw_vec1_grf(0, 3)); in nir_emit_task_mesh_intrinsic()
Dbrw_lower_logical_sends.cpp195 .MOV(retype(brw_vec1_grf(0, 0), BRW_REGISTER_TYPE_UW), in lower_fb_write_logical_send()
247 retype(brw_vec1_grf(0, 0), in lower_fb_write_logical_send()
441 retype(brw_vec1_grf(1, 1), BRW_REGISTER_TYPE_UD)); in lower_fb_read_logical_send()
875 retype(brw_vec1_grf(0, 3), BRW_REGISTER_TYPE_UD); in lower_sampler_logical_send_gfx7()
883 retype(brw_vec1_grf(0, 3), BRW_REGISTER_TYPE_UD), in lower_sampler_logical_send_gfx7()
904 retype(brw_vec1_grf(0, 3), BRW_REGISTER_TYPE_UD), in lower_sampler_logical_send_gfx7()
Dgfx6_gs_visitor.cpp110 src_reg(retype(brw_vec1_grf(1, 4), BRW_REGISTER_TYPE_UD)))); in emit_prolog()
Dbrw_fs_generator.cpp426 retype(brw_vec1_grf(1, 6), BRW_REGISTER_TYPE_UD), in generate_fb_write()
1496 retype(brw_vec1_grf(0, 3), BRW_REGISTER_TYPE_UD), in generate_scratch_header()
1505 retype(brw_vec1_grf(0, 5), BRW_REGISTER_TYPE_UD), in generate_scratch_header()
Dbrw_fs_reg_allocate.cpp1046 retype(brw_vec1_grf(0, 5), in spill_reg()
Dtest_eu_validate.cpp703 struct brw_reg g0_0 = brw_vec1_grf(0, 0); in TEST_P()
1105 struct brw_reg g0_0 = brw_vec1_grf(0, 0); in TEST_P()
Dbrw_eu_emit.c2660 retype(brw_vec1_grf(0, 5), BRW_REGISTER_TYPE_UD), in brw_urb_WRITE()