Lines Matching refs:vgrf
86 fs_reg reg = bld.vgrf(BRW_REGISTER_TYPE_F, 4 * reg_size); in nir_setup_outputs()
162 fs_reg iid = abld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_system_values_block()
216 fs_reg shifted = abld.vgrf(BRW_REGISTER_TYPE_UW, 1); in emit_system_values_block()
237 inverted = abld.vgrf(BRW_REGISTER_TYPE_UW); in emit_system_values_block()
244 fs_reg anded = abld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_system_values_block()
247 fs_reg dst = abld.vgrf(BRW_REGISTER_TYPE_D, 1); in emit_system_values_block()
275 reg = abld.vgrf(BRW_REGISTER_TYPE_UW); in nir_emit_system_values()
371 nir_locals[reg->index] = bld.vgrf(reg_type, size); in nir_emit_impl()
588 fs_reg tmp = vgrf(glsl_type::int_type); in optimize_frontfacing_ternary()
683 temp = bld.vgrf(BRW_REGISTER_TYPE_D); in emit_find_msb_using_lzd()
941 fs_reg zero = vgrf(glsl_type::double_type); in emit_fsign()
1027 temp = bld.vgrf(result.type, 4); in nir_emit_alu()
1258 fs_reg tmp = bld.vgrf(result.type); in nir_emit_alu()
1379 fs_reg tmp = bld.vgrf(BRW_REGISTER_TYPE_D); in nir_emit_alu()
1401 dest = bld.vgrf(op[0].type, 1); in nir_emit_alu()
1429 dest = bld.vgrf(op[0].type, 1); in nir_emit_alu()
1564 zero = vgrf(glsl_type::double_type); in nir_emit_alu()
1565 tmp = vgrf(glsl_type::double_type); in nir_emit_alu()
1568 zero = vgrf(glsl_type::int64_t_type); in nir_emit_alu()
1569 tmp = vgrf(glsl_type::int64_t_type); in nir_emit_alu()
1605 fs_reg temp = vgrf(glsl_type::float_type); in nir_emit_alu()
1628 fs_reg tmp16 = bld.vgrf(BRW_REGISTER_TYPE_D); in nir_emit_alu()
1629 fs_reg tmp32 = bld.vgrf(BRW_REGISTER_TYPE_F); in nir_emit_alu()
1630 fs_reg zero = bld.vgrf(BRW_REGISTER_TYPE_F); in nir_emit_alu()
1768 fs_reg temp = vgrf(glsl_type::int_type); in nir_emit_alu()
1876 fs_reg w_temp = bld.vgrf(BRW_REGISTER_TYPE_W); in nir_emit_alu()
1917 fs_reg masked = vgrf(glsl_type::int_type); in nir_emit_alu()
1930 fs_reg reg = bld.vgrf(reg_type, instr->def.num_components); in nir_emit_load_const()
1977 reg = bld.vgrf(reg_type, src.ssa->num_components); in get_nir_src()
2030 bld.vgrf(reg_type, dest.ssa.num_components); in get_nir_dest()
2088 fs_reg result = bld.vgrf(x.type, 1); in intexp2()
2089 fs_reg one = bld.vgrf(x.type, 1); in intexp2()
2145 fs_reg prev_count = bld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_gs_end_primitive()
2196 channel_mask = vgrf(glsl_type::uint_type); in emit_gs_control_data_bits()
2201 per_slot_offset = vgrf(glsl_type::uint_type); in emit_gs_control_data_bits()
2214 fs_reg dword_index = bld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_gs_control_data_bits()
2215 fs_reg prev_count = bld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_gs_control_data_bits()
2231 fs_reg channel = bld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_gs_control_data_bits()
2245 fs_reg payload = bld.vgrf(BRW_REGISTER_TYPE_UD, mlen); in emit_gs_control_data_bits()
2294 fs_reg sid = bld.vgrf(BRW_REGISTER_TYPE_UD, 1); in set_gs_stream_control_data_bits()
2298 fs_reg shift_count = bld.vgrf(BRW_REGISTER_TYPE_UD, 1); in set_gs_stream_control_data_bits()
2306 fs_reg mask = bld.vgrf(BRW_REGISTER_TYPE_UD, 1); in set_gs_stream_control_data_bits()
2436 fs_reg icp_handle = bld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_gs_input_load()
2456 fs_reg sequence = bld.vgrf(BRW_REGISTER_TYPE_UW, 1); in emit_gs_input_load()
2457 fs_reg channel_offsets = bld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_gs_input_load()
2458 fs_reg vertex_offset_bytes = bld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_gs_input_load()
2459 fs_reg icp_offset_bytes = bld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_gs_input_load()
2494 fs_reg icp_offset_bytes = bld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_gs_input_load()
2520 fs_reg tmp = bld.vgrf(dst.type, read_components); in emit_gs_input_load()
2539 fs_reg tmp = bld.vgrf(dst.type, read_components); in emit_gs_input_load()
2540 fs_reg payload = bld.vgrf(BRW_REGISTER_TYPE_UD, 2); in emit_gs_input_load()
2629 icp_handle = bld.vgrf(BRW_REGISTER_TYPE_UD, 1); in get_tcs_single_patch_icp_handle()
2644 icp_handle = bld.vgrf(BRW_REGISTER_TYPE_UD, 1); in get_tcs_single_patch_icp_handle()
2647 fs_reg vertex_offset_bytes = bld.vgrf(BRW_REGISTER_TYPE_UD, 1); in get_tcs_single_patch_icp_handle()
2688 fs_reg icp_handle = bld.vgrf(BRW_REGISTER_TYPE_UD, 1); in get_tcs_eight_patch_icp_handle()
2689 fs_reg sequence = bld.vgrf(BRW_REGISTER_TYPE_UW, 1); in get_tcs_eight_patch_icp_handle()
2690 fs_reg channel_offsets = bld.vgrf(BRW_REGISTER_TYPE_UD, 1); in get_tcs_eight_patch_icp_handle()
2691 fs_reg vertex_offset_bytes = bld.vgrf(BRW_REGISTER_TYPE_UD, 1); in get_tcs_eight_patch_icp_handle()
2692 fs_reg icp_offset_bytes = bld.vgrf(BRW_REGISTER_TYPE_UD, 1); in get_tcs_eight_patch_icp_handle()
2761 fs_reg m0 = bld.vgrf(BRW_REGISTER_TYPE_UD, 1); in nir_emit_tcs_intrinsic()
2819 fs_reg tmp = bld.vgrf(dst.type, read_components); in nir_emit_tcs_intrinsic()
2833 fs_reg payload = bld.vgrf(BRW_REGISTER_TYPE_UD, 2); in nir_emit_tcs_intrinsic()
2837 fs_reg tmp = bld.vgrf(dst.type, read_components); in nir_emit_tcs_intrinsic()
2860 inst->dst = bld.vgrf(dst.type, 4); in nir_emit_tcs_intrinsic()
2881 fs_reg patch_handle = bld.vgrf(BRW_REGISTER_TYPE_UD, 1); in nir_emit_tcs_intrinsic()
2888 fs_reg tmp = bld.vgrf(dst.type, read_components); in nir_emit_tcs_intrinsic()
2907 fs_reg payload = bld.vgrf(BRW_REGISTER_TYPE_UD, 2); in nir_emit_tcs_intrinsic()
2912 fs_reg tmp = bld.vgrf(dst.type, read_components); in nir_emit_tcs_intrinsic()
2980 bld.vgrf(BRW_REGISTER_TYPE_UD, mlen); in nir_emit_tcs_intrinsic()
3045 fs_reg patch_handle = bld.vgrf(BRW_REGISTER_TYPE_UD, 1); in nir_emit_tes_intrinsic()
3051 fs_reg tmp = bld.vgrf(dest.type, read_components); in nir_emit_tes_intrinsic()
3079 fs_reg payload = bld.vgrf(BRW_REGISTER_TYPE_UD, 2); in nir_emit_tes_intrinsic()
3085 fs_reg tmp = bld.vgrf(dest.type, read_components); in nir_emit_tes_intrinsic()
3173 const fs_reg idx = bld.vgrf(BRW_REGISTER_TYPE_UD); in fetch_render_target_array_index()
3181 const fs_reg idx = bld.vgrf(BRW_REGISTER_TYPE_UD); in fetch_render_target_array_index()
3218 const fs_reg coords = bld.vgrf(BRW_REGISTER_TYPE_UD, 3); in emit_non_coherent_fb_read()
3284 const fs_reg tmp = bld.vgrf(BRW_REGISTER_TYPE_F, size); in alloc_temporary()
3406 const fs_reg tmp = bld.vgrf(dest.type, 4); in nir_emit_fs_intrinsic()
3576 const fs_reg msg_data = vgrf(glsl_type::uint_type); in nir_emit_fs_intrinsic()
3603 const fs_reg msg_data = vgrf(glsl_type::uint_type); in nir_emit_fs_intrinsic()
3642 fs_reg src = vgrf(glsl_type::ivec2_type); in nir_emit_fs_intrinsic()
3646 fs_reg temp = vgrf(glsl_type::float_type); in nir_emit_fs_intrinsic()
3648 fs_reg itemp = vgrf(glsl_type::int_type); in nir_emit_fs_intrinsic()
3715 fs_reg tmp = vgrf(glsl_type::float_type); in nir_emit_fs_intrinsic()
3840 fs_reg read_result = bld.vgrf(BRW_REGISTER_TYPE_UD); in nir_emit_cs_intrinsic()
3877 srcs[SURFACE_LOGICAL_SRC_DATA] = bld.vgrf(BRW_REGISTER_TYPE_UD); in nir_emit_cs_intrinsic()
3985 surf_index = vgrf(glsl_type::uint_type); in get_nir_image_intrinsic_image()
4009 fs_reg surf_index = vgrf(glsl_type::uint_type); in get_nir_ssbo_intrinsic_index()
4048 fs_reg addr = bld.vgrf(BRW_REGISTER_TYPE_UD); in swizzle_nir_scratch_addr()
4059 fs_reg addr_hi = bld.vgrf(BRW_REGISTER_TYPE_UD); in swizzle_nir_scratch_addr()
4062 fs_reg chan_addr = bld.vgrf(BRW_REGISTER_TYPE_UD); in swizzle_nir_scratch_addr()
4196 fs_reg tmp = bld.vgrf(data.type, 2); in nir_emit_intrinsic()
4237 fs_reg tmp = ubld.vgrf(BRW_REGISTER_TYPE_UD, 4); in nir_emit_intrinsic()
4387 ubld.vgrf(BRW_REGISTER_TYPE_UD), in nir_emit_intrinsic()
4398 ubld.vgrf(BRW_REGISTER_TYPE_UD), in nir_emit_intrinsic()
4412 ubld.vgrf(BRW_REGISTER_TYPE_UD), in nir_emit_intrinsic()
4531 surf_index = vgrf(glsl_type::uint_type); in nir_emit_intrinsic()
4590 const fs_reg packed_consts = ubld.vgrf(BRW_REGISTER_TYPE_UD); in nir_emit_intrinsic()
4634 fs_reg tmp = bld.vgrf(BRW_REGISTER_TYPE_UD); in nir_emit_intrinsic()
4665 fs_reg tmp = bld.vgrf(BRW_REGISTER_TYPE_UD); in nir_emit_intrinsic()
4722 fs_reg read_result = bld.vgrf(BRW_REGISTER_TYPE_UD); in nir_emit_intrinsic()
4759 srcs[SURFACE_LOGICAL_SRC_DATA] = bld.vgrf(BRW_REGISTER_TYPE_UD); in nir_emit_intrinsic()
4817 fs_reg src_payload = ubld.vgrf(BRW_REGISTER_TYPE_UD); in nir_emit_intrinsic()
4818 fs_reg ret_payload = ubld.vgrf(BRW_REGISTER_TYPE_UD, 4); in nir_emit_intrinsic()
4850 fs_reg size_aligned4 = ubld.vgrf(BRW_REGISTER_TYPE_UD); in nir_emit_intrinsic()
4851 fs_reg size_padding = ubld.vgrf(BRW_REGISTER_TYPE_UD); in nir_emit_intrinsic()
4852 fs_reg buffer_size = ubld.vgrf(BRW_REGISTER_TYPE_UD); in nir_emit_intrinsic()
4900 fs_reg read_result = bld.vgrf(BRW_REGISTER_TYPE_UD); in nir_emit_intrinsic()
4952 srcs[SURFACE_LOGICAL_SRC_DATA] = bld.vgrf(BRW_REGISTER_TYPE_UD); in nir_emit_intrinsic()
5006 fs_reg res1 = ubld.vgrf(BRW_REGISTER_TYPE_D); in nir_emit_intrinsic()
5038 fs_reg res1 = ubld.vgrf(BRW_REGISTER_TYPE_D); in nir_emit_intrinsic()
5079 fs_reg res1 = ubld.vgrf(BRW_REGISTER_TYPE_D); in nir_emit_intrinsic()
5118 fs_reg tmp = bld.vgrf(value.type); in nir_emit_intrinsic()
5142 fs_reg tmp = bld.vgrf(BRW_REGISTER_TYPE_UD); in nir_emit_intrinsic()
5160 const fs_reg tmp = bld.vgrf(value.type); in nir_emit_intrinsic()
5192 const fs_reg tmp = bld.vgrf(value.type); in nir_emit_intrinsic()
5201 fs_reg idx = bld.vgrf(BRW_REGISTER_TYPE_W); in nir_emit_intrinsic()
5213 const fs_reg tmp = bld.vgrf(value.type); in nir_emit_intrinsic()
5222 fs_reg idx = bld.vgrf(BRW_REGISTER_TYPE_W); in nir_emit_intrinsic()
5249 fs_reg scan = bld.vgrf(src.type); in nir_emit_intrinsic()
5295 fs_reg scan = bld.vgrf(src.type); in nir_emit_intrinsic()
5304 fs_reg shifted = bld.vgrf(src.type); in nir_emit_intrinsic()
5305 fs_reg idx = bld.vgrf(BRW_REGISTER_TYPE_W); in nir_emit_intrinsic()
5499 fs_reg tmp = bld.vgrf(data.type, 2); in nir_emit_ssbo_atomic()
5529 fs_reg tmp = bld.vgrf(data.type, 2); in nir_emit_ssbo_atomic_float()
5560 fs_reg tmp = bld.vgrf(data.type, 2); in nir_emit_shared_atomic()
5572 srcs[SURFACE_LOGICAL_SRC_ADDRESS] = vgrf(glsl_type::uint_type); in nir_emit_shared_atomic()
5600 fs_reg tmp = bld.vgrf(data.type, 2); in nir_emit_shared_atomic_float()
5612 srcs[SURFACE_LOGICAL_SRC_ADDRESS] = vgrf(glsl_type::uint_type); in nir_emit_shared_atomic_float()
5639 fs_reg tmp = bld.vgrf(data.type, 2); in nir_emit_global_atomic()
5668 fs_reg tmp = bld.vgrf(data.type, 2); in nir_emit_global_atomic_float()
5766 fs_reg tmp = vgrf(glsl_type::uint_type); in nir_emit_texture()
5774 fs_reg tmp = vgrf(glsl_type::uint_type); in nir_emit_texture()
5882 fs_reg tmp = vgrf(glsl_type::uint_type); in nir_emit_texture()
5908 fs_reg dst = bld.vgrf(brw_type_for_nir_type(devinfo, instr->dest_type), 4); in nir_emit_texture()
5942 nir_dest[2] = vgrf(glsl_type::int_type); in nir_emit_texture()
6101 fs_reg dst = ubld.vgrf(BRW_REGISTER_TYPE_DF, 1); in setup_imm_df()
6128 const fs_reg tmp = ubld.vgrf(BRW_REGISTER_TYPE_UD, 2); in setup_imm_df()
6138 const fs_reg tmp = bld.vgrf(BRW_REGISTER_TYPE_B); in setup_imm_b()
6146 const fs_reg tmp = bld.vgrf(BRW_REGISTER_TYPE_UB); in setup_imm_ub()