Home
last modified time | relevance | path

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

12

/external/mesa3d/src/compiler/glsl/
Dbuiltin_functions.cpp1142 _##NAME(glsl_type::vec4_type), \ in create_builtins()
1150 _##NAME(always_available, glsl_type::vec4_type), \ in create_builtins()
1162 _##NAME(v130, glsl_type::vec4_type), \ in create_builtins()
1174 _##NAME(gpu_shader5_es, glsl_type::vec4_type), \ in create_builtins()
1186 _##NAME(glsl_type::vec4_type), \ in create_builtins()
1198 _##NAME(always_available, glsl_type::vec4_type), \ in create_builtins()
1213 _##NAME(always_available, glsl_type::vec4_type), \ in create_builtins()
1244 _##NAME(always_available, glsl_type::vec4_type), \ in create_builtins()
1268 _##NAME(always_available, glsl_type::vec4_type, glsl_type::float_type), \ in create_builtins()
1272 _##NAME(always_available, glsl_type::vec4_type, glsl_type::vec4_type), \ in create_builtins()
[all …]
Dbuiltin_types.cpp71 glsl_struct_field(glsl_type::vec4_type, "emission"),
72 glsl_struct_field(glsl_type::vec4_type, "ambient"),
73 glsl_struct_field(glsl_type::vec4_type, "diffuse"),
74 glsl_struct_field(glsl_type::vec4_type, "specular"),
79 glsl_struct_field(glsl_type::vec4_type, "ambient"),
80 glsl_struct_field(glsl_type::vec4_type, "diffuse"),
81 glsl_struct_field(glsl_type::vec4_type, "specular"),
82 glsl_struct_field(glsl_type::vec4_type, "position"),
83 glsl_struct_field(glsl_type::vec4_type, "halfVector"),
94 glsl_struct_field(glsl_type::vec4_type, "ambient"),
[all …]
Dopt_dead_builtin_varyings.cpp327 new (ctx) ir_variable(glsl_type::vec4_type, name, in replace_varyings_visitor()
334 new (ctx) ir_variable(glsl_type::vec4_type, name, in replace_varyings_visitor()
370 new (ctx) ir_variable(glsl_type::vec4_type, name, in prepare_array()
376 new(ctx) ir_variable(glsl_type::vec4_type, name, in prepare_array()
Dlower_distance.cpp187 (*new_var)->type = glsl_type::get_array_instance(glsl_type::vec4_type, in visit()
202 glsl_type::get_array_instance(glsl_type::vec4_type, in visit()
409 assert(expr->operands[0]->type == glsl_type::vec4_type); in fix_lhs()
413 glsl_type::vec4_type, in fix_lhs()
Dlower_packing_builtins.cpp500 assert(vec4_rval->type == glsl_type::vec4_type); in lower_pack_snorm_4x8()
622 assert(result->type == glsl_type::vec4_type); in lower_unpack_snorm_4x8()
705 assert(vec4_rval->type == glsl_type::vec4_type); in lower_pack_unorm_4x8()
792 assert(result->type == glsl_type::vec4_type); in lower_unpack_unorm_4x8()
Dlower_blend_equation_advanced.cpp281 ir_variable *result = f.make_temp(glsl_type::vec4_type, "__blend_result"); in calc_blend_result()
284 ir_variable *src = f.make_temp(glsl_type::vec4_type, "__blend_src"); in calc_blend_result()
476 ir_variable *fb = new(mem_ctx) ir_variable(glsl_type::vec4_type, in lower_blend_equation_advanced()
541 new(mem_ctx) ir_expression(ir_quadop_vector, glsl_type::vec4_type, in lower_blend_equation_advanced()
Dlower_tess_level.cpp124 new_tess_level_outer_var->type = glsl_type::vec4_type; in visit()
262 assert((expr->operands[0]->type == glsl_type::vec4_type) || in fix_lhs()
Dir_validate.cpp365 assert(ir->operands[0]->type == glsl_type::vec4_type); in visit_leave()
382 assert(ir->type == glsl_type::vec4_type); in visit_leave()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dtest_vec4_register_coalesce.cpp150 dst_reg temp = dst_reg(v, glsl_type::vec4_type); in TEST_F()
175 src_reg some_src_1 = src_reg(v, glsl_type::vec4_type); in TEST_F()
176 src_reg some_src_2 = src_reg(v, glsl_type::vec4_type); in TEST_F()
196 src_reg some_src_1 = src_reg(v, glsl_type::vec4_type); in TEST_F()
197 src_reg some_src_2 = src_reg(v, glsl_type::vec4_type); in TEST_F()
200 dst_reg to = dst_reg(v, glsl_type::vec4_type); in TEST_F()
222 src_reg some_src_1 = src_reg(v, glsl_type::vec4_type); in TEST_F()
223 src_reg some_src_2 = src_reg(v, glsl_type::vec4_type); in TEST_F()
226 dst_reg to = dst_reg(v, glsl_type::vec4_type); in TEST_F()
Dtest_vec4_copy_propagation.cpp127 dst_reg a = dst_reg(v, glsl_type::vec4_type); in TEST_F()
128 dst_reg b = dst_reg(v, glsl_type::vec4_type); in TEST_F()
129 dst_reg c = dst_reg(v, glsl_type::vec4_type); in TEST_F()
156 dst_reg a = dst_reg(v, glsl_type::vec4_type); in TEST_F()
157 dst_reg b = dst_reg(v, glsl_type::vec4_type); in TEST_F()
158 dst_reg c = dst_reg(v, glsl_type::vec4_type); in TEST_F()
Dtest_vec4_cmod_propagation.cpp367 dst_reg dest = dst_reg(v, glsl_type::vec4_type); in TEST_F()
595 dst_reg dest = dst_reg(v, glsl_type::vec4_type); in TEST_F()
596 src_reg src0 = src_reg(v, glsl_type::vec4_type); in TEST_F()
597 src_reg src1 = src_reg(v, glsl_type::vec4_type); in TEST_F()
628 dst_reg dest = dst_reg(v, glsl_type::vec4_type); in TEST_F()
630 src_reg src0 = src_reg(v, glsl_type::vec4_type); in TEST_F()
631 src_reg src1 = src_reg(v, glsl_type::vec4_type); in TEST_F()
665 dst_reg dest = dst_reg(v, glsl_type::vec4_type); in TEST_F()
667 src_reg src0 = src_reg(v, glsl_type::vec4_type); in TEST_F()
668 src_reg src1 = src_reg(v, glsl_type::vec4_type); in TEST_F()
[all …]
Dbrw_vec4_visitor.cpp301 dst_reg expanded = dst_reg(this, glsl_type::vec4_type); in fix_3src_operand()
340 dst_reg expanded = dst_reg(this, glsl_type::vec4_type); in fix_math_operand()
356 math->dst = dst_reg(this, glsl_type::vec4_type); in emit_math()
498 dst_reg f(this, glsl_type::vec4_type); in emit_unpack_unorm_4x8()
520 dst_reg f(this, glsl_type::vec4_type); in emit_unpack_snorm_4x8()
523 dst_reg scaled(this, glsl_type::vec4_type); in emit_unpack_snorm_4x8()
526 dst_reg max(this, glsl_type::vec4_type); in emit_unpack_snorm_4x8()
534 dst_reg saturated(this, glsl_type::vec4_type); in emit_pack_unorm_4x8()
538 dst_reg scaled(this, glsl_type::vec4_type); in emit_pack_unorm_4x8()
541 dst_reg rounded(this, glsl_type::vec4_type); in emit_pack_unorm_4x8()
[all …]
Dbrw_vec4_tes.cpp173 swizzle(src_reg(ATTR, 1, glsl_type::vec4_type), in nir_emit_intrinsic()
177 swizzle(src_reg(ATTR, 1, glsl_type::vec4_type), in nir_emit_intrinsic()
184 swizzle(src_reg(ATTR, 0, glsl_type::vec4_type), in nir_emit_intrinsic()
Dbrw_vec4_vs_visitor.cpp184 dst_reg(this, glsl_type::vec4_type); in emit_thread_end()
186 dst_reg(this, glsl_type::vec4_type); in emit_thread_end()
Dbrw_fs_visitor.cpp569 this->outputs[VARYING_SLOT_CLIP_DIST0] = vgrf(glsl_type::vec4_type); in compute_clip_distance()
570 this->outputs[VARYING_SLOT_CLIP_DIST1] = vgrf(glsl_type::vec4_type); in compute_clip_distance()
Dbrw_vec4_nir.cpp916 packed_consts = src_reg(this, glsl_type::vec4_type); in nir_emit_intrinsic()
1205 src_reg tmp_src = retype(src_reg(this, glsl_type::vec4_type), single_type); in emit_conversion_to_double()
1534 src_reg tmp32 = src_reg(this, glsl_type::vec4_type); in nir_emit_alu()
1535 src_reg zero = src_reg(this, glsl_type::vec4_type); in nir_emit_alu()
Dtest_fs_cmod_propagation.cpp278 fs_reg dest = v->vgrf(glsl_type::vec4_type); in TEST_F()
Dtest_fs_saturate_propagation.cpp522 fs_reg dst0 = v->vgrf(glsl_type::vec4_type); in TEST_F()
Dbrw_vec4.cpp894 glsl_type::dvec4_type : glsl_type::vec4_type; in move_push_constants_to_pull_constants()
1921 dst_reg(this, glsl_type::get_array_instance(glsl_type::vec4_type, 2)); in emit_shader_time_write()
/external/mesa3d/src/compiler/glsl/tests/
Darray_refcount_test.cpp103 glsl_type::get_array_instance(glsl_type::vec4_type, 5); in SetUp()
224 new(mem_ctx) ir_variable(glsl_type::vec4_type, "a", ir_var_auto); in TEST_F()
413 ir_variable *var_c = new(mem_ctx) ir_variable(glsl_type::vec4_type, in TEST_F()
442 ir_variable *var_a = new(mem_ctx) ir_variable(glsl_type::vec4_type, in TEST_F()
515 ir_variable *var_a = new(mem_ctx) ir_variable(glsl_type::vec4_type, in TEST_F()
547 ir_variable *var_a = new(mem_ctx) ir_variable(glsl_type::vec4_type, in TEST_F()
588 ir_variable *var_a = new(mem_ctx) ir_variable(glsl_type::vec4_type, in TEST_F()
/external/mesa3d/src/mesa/main/
Dff_fragment_shader.cpp794 ir_variable *temp_var = p->make_temp(glsl_type::vec4_type, "texenv_combine"); in emit_texenv()
864 shift = new(p->mem_ctx) ir_constant(glsl_type::vec4_type, in emit_texenv()
902 p->src_texture[unit] = p->make_temp(glsl_type::vec4_type, in load_texture()
968 p->src_texture[unit] = p->make_temp(glsl_type::vec4_type, in load_texture()
987 tex->set_sampler(deref, glsl_type::vec4_type); in load_texture()
1072 ir_variable *fog_result = p->make_temp(glsl_type::vec4_type, "fog_result"); in emit_fog_instructions()
1163 ir_variable *spec_result = p->make_temp(glsl_type::vec4_type, in emit_instructions()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_soa.c1933 struct lp_type vec4_type = bld->texel_type; in lp_build_clamp_border_color() local
1947 vec4_type.length = 4; in lp_build_clamp_border_color()
1948 lp_build_context_init(&vec4_bld, gallivm, vec4_type); in lp_build_clamp_border_color()
1985 min_clamp = lp_build_const_vec(gallivm, vec4_type, -1.0F); in lp_build_clamp_border_color()
1995 min_clamp = lp_build_const_int_vec(gallivm, vec4_type, in lp_build_clamp_border_color()
1997 max_clamp = lp_build_const_int_vec(gallivm, vec4_type, in lp_build_clamp_border_color()
2023 max_clamp = lp_build_const_int_vec(gallivm, vec4_type, in lp_build_clamp_border_color()
2039 max_clamp = lp_build_const_aos(gallivm, vec4_type, max10, max10, in lp_build_clamp_border_color()
2044 min_clamp = lp_build_const_aos(gallivm, vec4_type, -1.0F, -1.0F, in lp_build_clamp_border_color()
2050 min_clamp = lp_build_const_aos(gallivm, vec4_type, -1.0F, -1.0F, in lp_build_clamp_border_color()
[all …]
/external/mesa3d/src/mesa/program/
Dir_to_mesa.cpp803 src_reg temp = get_temp(glsl_type::vec4_type); in reladdr_to_temp()
937 src_reg abs_difference = get_temp(glsl_type::vec4_type); in emit_equality_comparison()
955 difference = get_temp(glsl_type::vec4_type); in emit_equality_comparison()
1152 src_reg temp = get_temp(glsl_type::vec4_type); in visit()
1175 src_reg temp = get_temp(glsl_type::vec4_type); in visit()
1980 coord = get_temp(glsl_type::vec4_type); in visit()
1992 result_src = get_temp(glsl_type::vec4_type); in visit()
2067 tmp_src = get_temp(glsl_type::vec4_type); in visit()
/external/mesa3d/src/compiler/
Dnir_types.cpp276 return glsl_type::vec4_type; in glsl_vec4_type()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp1497 …_reg temp = get_temp(reg->type == GLSL_TYPE_DOUBLE ? glsl_type::dvec4_type : glsl_type::vec4_type); in reladdr_to_temp()
1671 glsl_type::vec4_type); in visit_expression()
1674 st_src_reg temp = get_temp(glsl_type::vec4_type); in visit_expression()
1746 glsl_type::vec4_type); in visit_expression()
1810 glsl_type::vec4_type); in visit_expression()
2226 glsl_type::vec4_type); in visit_expression()
3973 coord = get_temp(glsl_type::vec4_type); in visit()
4116 tmp_src = get_temp(glsl_type::vec4_type); in visit()

12