Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/drivers/dri/i965/
Dtest_fs_saturate_propagation.cpp104 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F()
105 fs_reg dst1 = v->vgrf(glsl_type::float_type); in TEST_F()
106 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
107 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
139 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F()
140 fs_reg dst1 = v->vgrf(glsl_type::float_type); in TEST_F()
141 fs_reg dst2 = v->vgrf(glsl_type::float_type); in TEST_F()
142 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
143 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
177 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F()
[all …]
Dtest_fs_cmod_propagation.cpp104 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F()
105 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
106 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
136 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F()
137 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
138 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
169 fs_reg dest = v->vgrf(glsl_type::uint_type); in TEST_F()
170 fs_reg src0 = v->vgrf(glsl_type::uint_type); in TEST_F()
201 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F()
202 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
[all …]
Dbrw_fs_nir.cpp61 fs_reg reg = bld.vgrf(BRW_REGISTER_TYPE_F, 4 * vec4s); in nir_setup_outputs()
135 fs_reg iid = abld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_system_values_block()
188 fs_reg shifted = abld.vgrf(BRW_REGISTER_TYPE_UW, 1); in emit_system_values_block()
205 inverted = abld.vgrf(BRW_REGISTER_TYPE_UW); in emit_system_values_block()
212 fs_reg anded = abld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_system_values_block()
215 fs_reg dst = abld.vgrf(BRW_REGISTER_TYPE_D, 1); in emit_system_values_block()
260 nir_locals[reg->index] = bld.vgrf(reg_type, size); in nir_emit_impl()
454 fs_reg tmp = vgrf(glsl_type::int_type); in optimize_frontfacing_ternary()
532 temp = bld.vgrf(BRW_REGISTER_TYPE_D); in emit_find_msb_using_lzd()
587 temp = bld.vgrf(result.type, 4); in nir_emit_alu()
[all …]
Dtest_fs_copy_propagation.cpp104 fs_reg vgrf0 = v->vgrf(glsl_type::float_type); in TEST_F()
105 fs_reg vgrf1 = v->vgrf(glsl_type::float_type); in TEST_F()
106 fs_reg vgrf2 = v->vgrf(glsl_type::float_type); in TEST_F()
107 fs_reg vgrf3 = v->vgrf(glsl_type::float_type); in TEST_F()
146 fs_reg vgrf0 = v->vgrf(glsl_type::float_type); in TEST_F()
147 fs_reg vgrf1 = v->vgrf(glsl_type::float_type); in TEST_F()
148 fs_reg vgrf2 = v->vgrf(glsl_type::float_type); in TEST_F()
Dbrw_vec4_builder.h173 vgrf(enum brw_reg_type type, unsigned n = 1) const
353 writemask(vgrf(BRW_REGISTER_TYPE_UD), WRITEMASK_X); in emit_uniformize()
354 const dst_reg dst = vgrf(src.type); in emit_uniformize()
513 const dst_reg y_times_a = vgrf(dst.type); in LRP()
514 const dst_reg one_minus_a = vgrf(dst.type); in LRP()
515 const dst_reg x_times_one_minus_a = vgrf(dst.type); in LRP()
535 dst_reg temp = vgrf(BRW_REGISTER_TYPE_UD); in fix_unsigned_negate()
567 const dst_reg expanded = vgrf(src.type); in fix_3src_operand()
591 const dst_reg tmp = vgrf(src.type); in fix_math_operand()
607 const dst_reg tmp = vgrf(inst->dst.type); in fix_math_instruction()
Dbrw_fs_visitor.cpp84 const fs_reg dest = vgrf(glsl_type::uvec4_type); in emit_mcs_fetch()
202 this->pixel_x = vgrf(glsl_type::uint_type); in emit_interpolation_setup_gen4()
203 this->pixel_y = vgrf(glsl_type::uint_type); in emit_interpolation_setup_gen4()
216 vgrf(glsl_type::vec2_type); in emit_interpolation_setup_gen4()
237 this->wpos_w = vgrf(glsl_type::float_type); in emit_interpolation_setup_gen4()
241 this->pixel_w = vgrf(glsl_type::float_type); in emit_interpolation_setup_gen4()
271 this->pixel_x = vgrf(glsl_type::float_type); in emit_interpolation_setup_gen6()
272 this->pixel_y = vgrf(glsl_type::float_type); in emit_interpolation_setup_gen6()
284 fs_reg int_pixel_x = vgrf(glsl_type::uint_type); in emit_interpolation_setup_gen6()
285 fs_reg int_pixel_y = vgrf(glsl_type::uint_type); in emit_interpolation_setup_gen6()
[all …]
Dbrw_vec4_surface_builder.cpp41 const dst_reg dst = bld.vgrf(src.type, in emit_stride()
70 const dst_reg tmp = bld.vgrf(src.type); in emit_insert()
123 const dst_reg payload = bld.vgrf(BRW_REGISTER_TYPE_UD, sz); in emit_send()
144 const dst_reg dst = bld.vgrf(BRW_REGISTER_TYPE_UD, ret_sz); in emit_send()
213 const dst_reg srcs = bld.vgrf(BRW_REGISTER_TYPE_UD); in emit_untyped_atomic()
236 const dst_reg dst = bld.vgrf(BRW_REGISTER_TYPE_UD); in emit_typed_message_header()
316 const dst_reg srcs = bld.vgrf(BRW_REGISTER_TYPE_UD); in emit_typed_atomic()
Dbrw_fs_surface_builder.cpp50 const fs_reg dst = bld.vgrf(BRW_REGISTER_TYPE_UD, rsize); in emit_send()
106 const fs_reg tmp = bld.vgrf(BRW_REGISTER_TYPE_UD, n); in emit_untyped_atomic()
157 const fs_reg tmp = bld.vgrf(BRW_REGISTER_TYPE_UD, n); in emit_typed_atomic()
486 const fs_reg dst = bld.vgrf(addr.type, dims); in emit_image_coordinates()
517 const fs_reg addr = bld.vgrf(BRW_REGISTER_TYPE_UD, 2); in emit_address_calculation()
518 const fs_reg tmp = bld.vgrf(BRW_REGISTER_TYPE_UD, 2); in emit_address_calculation()
519 const fs_reg minor = bld.vgrf(BRW_REGISTER_TYPE_UD, 2); in emit_address_calculation()
520 const fs_reg major = bld.vgrf(BRW_REGISTER_TYPE_UD, 2); in emit_address_calculation()
521 const fs_reg dst = bld.vgrf(BRW_REGISTER_TYPE_UD); in emit_address_calculation()
686 const fs_reg dst = bld.vgrf(BRW_REGISTER_TYPE_UD, 4); in emit_pack()
[all …]
Dbrw_fs_builder.h186 vgrf(enum brw_reg_type type, unsigned n = 1) const
407 const dst_reg chan_index = vgrf(BRW_REGISTER_TYPE_UD); in emit_uniformize()
408 const dst_reg dst = vgrf(src.type); in emit_uniformize()
552 const dst_reg y_times_a = vgrf(dst.type); in LRP()
553 const dst_reg one_minus_a = vgrf(dst.type); in LRP()
554 const dst_reg x_times_one_minus_a = vgrf(dst.type); in LRP()
594 dst_reg temp = vgrf(BRW_REGISTER_TYPE_UD); in fix_unsigned_negate()
612 dst_reg expanded = vgrf(src.type); in fix_3src_operand()
640 const dst_reg tmp = vgrf(src.type); in fix_math_operand()
Dbrw_fs_live_variables.cpp314 int vgrf = live_intervals->vgrf_from_var[i]; in calculate_live_intervals() local
315 virtual_grf_start[vgrf] = MIN2(virtual_grf_start[vgrf], in calculate_live_intervals()
317 virtual_grf_end[vgrf] = MAX2(virtual_grf_end[vgrf], in calculate_live_intervals()
Dbrw_fs.cpp182 fs_reg vec4_offset = vgrf(glsl_type::uint_type); in VARYING_PULL_CONSTANT_LOAD()
191 fs_reg vec4_result = bld.vgrf(BRW_REGISTER_TYPE_F, 4); in VARYING_PULL_CONSTANT_LOAD()
591 payload = vgrf(glsl_type::uvec2_type); in SHADER_TIME_ADD()
593 payload = vgrf(glsl_type::uint_type); in SHADER_TIME_ADD()
954 fs_visitor::vgrf(const glsl_type *const type) in vgrf() function in fs_visitor
1060 fs_reg *reg = new(this->mem_ctx) fs_reg(vgrf(glsl_type::bool_type)); in emit_frontfacing_interpolation()
1127 fs_reg *reg = new(this->mem_ctx) fs_reg(vgrf(glsl_type::vec2_type)); in emit_samplepos_setup()
1129 fs_reg int_sample_x = vgrf(glsl_type::int_type); in emit_samplepos_setup()
1130 fs_reg int_sample_y = vgrf(glsl_type::int_type); in emit_samplepos_setup()
1178 fs_reg *reg = new(this->mem_ctx) fs_reg(vgrf(glsl_type::int_type)); in emit_sampleid_setup()
[all …]
Dbrw_fs_lower_d2x.cpp63 fs_reg temp = ibld.vgrf(inst->src[0].type, 1); in lower_d2x()
Dbrw_fs_sel_peephole.cpp201 src0 = vgrf(glsl_type::float_type); in opt_peephole_sel()
Dbrw_schedule_instructions.cpp636 int vgrf = v->live_intervals->vgrf_from_var[i]; in setup_liveness() local
637 if (!BITSET_TEST(livein[block], vgrf)) { in setup_liveness()
638 reg_pressure_in[block] += v->alloc.sizes[vgrf]; in setup_liveness()
639 BITSET_SET(livein[block], vgrf); in setup_liveness()
Dbrw_fs.h78 fs_reg vgrf(const glsl_type *const type);
Dbrw_vec4_nir.cpp956 const dst_reg tmp = bld.vgrf(BRW_REGISTER_TYPE_UD, 2); in nir_emit_intrinsic()
1152 temp = src_reg(bld.vgrf(BRW_REGISTER_TYPE_D)); in emit_find_msb_using_lzd()
1868 dst_reg temp = bld.vgrf(BRW_REGISTER_TYPE_D); in nir_emit_alu()