Home
last modified time | relevance | path

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

12

/external/mesa3d/src/compiler/glsl/
Dbuiltin_functions.cpp1561 _read_invocation_intrinsic(glsl_type::vec4_type), in create_intrinsics()
1578 _read_first_invocation_intrinsic(glsl_type::vec4_type), in create_intrinsics()
1608 _##NAME(glsl_type::vec4_type), \ in create_builtins()
1616 _##NAME(always_available, glsl_type::vec4_type), \ in create_builtins()
1628 _##NAME(v130, glsl_type::vec4_type), \ in create_builtins()
1640 _##NAME(v130_or_gpu_shader4, glsl_type::vec4_type), \ in create_builtins()
1652 _##NAME(gpu_shader5_es, glsl_type::vec4_type), \ in create_builtins()
1664 _##NAME(glsl_type::vec4_type), \ in create_builtins()
1676 _##NAME(always_available, glsl_type::vec4_type), \ in create_builtins()
1695 _##NAME(always_available, glsl_type::vec4_type), \ in create_builtins()
[all …]
Dbuiltin_types.cpp72 glsl_struct_field(glsl_type::vec4_type, "emission"),
73 glsl_struct_field(glsl_type::vec4_type, "ambient"),
74 glsl_struct_field(glsl_type::vec4_type, "diffuse"),
75 glsl_struct_field(glsl_type::vec4_type, "specular"),
80 glsl_struct_field(glsl_type::vec4_type, "ambient"),
81 glsl_struct_field(glsl_type::vec4_type, "diffuse"),
82 glsl_struct_field(glsl_type::vec4_type, "specular"),
83 glsl_struct_field(glsl_type::vec4_type, "position"),
84 glsl_struct_field(glsl_type::vec4_type, "halfVector"),
95 glsl_struct_field(glsl_type::vec4_type, "ambient"),
[all …]
Dopt_dead_builtin_varyings.cpp328 new (ctx) ir_variable(glsl_type::vec4_type, name, in replace_varyings_visitor()
335 new (ctx) ir_variable(glsl_type::vec4_type, name, in replace_varyings_visitor()
371 new (ctx) ir_variable(glsl_type::vec4_type, name, in prepare_array()
377 new(ctx) ir_variable(glsl_type::vec4_type, name, in prepare_array()
Dlower_distance.cpp188 (*new_var)->type = glsl_type::get_array_instance(glsl_type::vec4_type, in visit()
203 glsl_type::get_array_instance(glsl_type::vec4_type, in visit()
411 assert(expr->operands[0]->type == glsl_type::vec4_type); in fix_lhs()
415 glsl_type::vec4_type, in fix_lhs()
Dlower_blend_equation_advanced.cpp283 ir_variable *result = f.make_temp(glsl_type::vec4_type, "__blend_result"); in calc_blend_result()
286 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()
542 new(mem_ctx) ir_expression(ir_quadop_vector, glsl_type::vec4_type, in lower_blend_equation_advanced()
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_tess_level.cpp125 new_tess_level_outer_var->type = glsl_type::vec4_type; in visit()
263 assert((expr->operands[0]->type == glsl_type::vec4_type) || in fix_lhs()
Dir_validate.cpp536 assert(ir->operands[0]->type == glsl_type::vec4_type); in visit_leave()
573 assert(ir->type == glsl_type::vec4_type); in visit_leave()
/external/mesa3d/src/compiler/nir/
Dnir_lower_vec3_to_vec4.c33 const struct glsl_type *vec4_type = in lower_vec3_to_vec4_impl() local
35 if (var->type != vec4_type) { in lower_vec3_to_vec4_impl()
36 var->type = vec4_type; in lower_vec3_to_vec4_impl()
53 const struct glsl_type *vec4_type = in lower_vec3_to_vec4_impl() local
55 if (deref->type != vec4_type) { in lower_vec3_to_vec4_impl()
56 deref->type = vec4_type; in lower_vec3_to_vec4_impl()
154 const struct glsl_type *vec4_type = in nir_lower_vec3_to_vec4() local
156 if (var->type != vec4_type) { in nir_lower_vec3_to_vec4()
157 var->type = vec4_type; in nir_lower_vec3_to_vec4()
/external/mesa3d/src/intel/compiler/
Dtest_vec4_dead_code_eliminate.cpp125 src_reg r1 = src_reg(v, glsl_type::vec4_type); in TEST_F()
126 src_reg r2 = src_reg(v, glsl_type::vec4_type); in TEST_F()
127 src_reg r3 = src_reg(v, glsl_type::vec4_type); in TEST_F()
128 src_reg r4 = src_reg(v, glsl_type::vec4_type); in TEST_F()
129 src_reg r5 = src_reg(v, glsl_type::vec4_type); in TEST_F()
130 src_reg r6 = src_reg(v, glsl_type::vec4_type); in TEST_F()
Dtest_vec4_register_coalesce.cpp149 dst_reg temp = dst_reg(v, glsl_type::vec4_type); in TEST_F()
174 src_reg some_src_1 = src_reg(v, glsl_type::vec4_type); in TEST_F()
175 src_reg some_src_2 = src_reg(v, glsl_type::vec4_type); in TEST_F()
195 src_reg some_src_1 = src_reg(v, glsl_type::vec4_type); in TEST_F()
196 src_reg some_src_2 = src_reg(v, glsl_type::vec4_type); in TEST_F()
199 dst_reg to = dst_reg(v, glsl_type::vec4_type); in TEST_F()
221 src_reg some_src_1 = src_reg(v, glsl_type::vec4_type); in TEST_F()
222 src_reg some_src_2 = src_reg(v, glsl_type::vec4_type); in TEST_F()
225 dst_reg to = dst_reg(v, glsl_type::vec4_type); in TEST_F()
Dtest_vec4_copy_propagation.cpp126 dst_reg a = dst_reg(v, glsl_type::vec4_type); in TEST_F()
127 dst_reg b = dst_reg(v, glsl_type::vec4_type); in TEST_F()
128 dst_reg c = dst_reg(v, glsl_type::vec4_type); in TEST_F()
155 dst_reg a = dst_reg(v, glsl_type::vec4_type); in TEST_F()
156 dst_reg b = dst_reg(v, glsl_type::vec4_type); in TEST_F()
157 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_tes.cpp134 swizzle(src_reg(ATTR, 1, glsl_type::vec4_type), in nir_emit_intrinsic()
138 swizzle(src_reg(ATTR, 1, glsl_type::vec4_type), in nir_emit_intrinsic()
145 swizzle(src_reg(ATTR, 0, glsl_type::vec4_type), in nir_emit_intrinsic()
Dbrw_vec4_visitor.cpp302 dst_reg expanded = dst_reg(this, glsl_type::vec4_type); in fix_3src_operand()
328 dst_reg expanded = dst_reg(this, glsl_type::vec4_type); in fix_math_operand()
344 math->dst = dst_reg(this, glsl_type::vec4_type); in emit_math()
486 dst_reg f(this, glsl_type::vec4_type); in emit_unpack_unorm_4x8()
508 dst_reg f(this, glsl_type::vec4_type); in emit_unpack_snorm_4x8()
511 dst_reg scaled(this, glsl_type::vec4_type); in emit_unpack_snorm_4x8()
514 dst_reg max(this, glsl_type::vec4_type); in emit_unpack_snorm_4x8()
522 dst_reg saturated(this, glsl_type::vec4_type); in emit_pack_unorm_4x8()
526 dst_reg scaled(this, glsl_type::vec4_type); in emit_pack_unorm_4x8()
529 dst_reg rounded(this, glsl_type::vec4_type); in emit_pack_unorm_4x8()
[all …]
Dbrw_vec4_cmod_propagation.cpp172 src_reg temp(v, glsl_type::vec4_type, 1); in opt_cmod_propagation_local()
Dbrw_vec4_nir.cpp662 packed_consts = src_reg(this, glsl_type::vec4_type); in nir_emit_intrinsic()
895 src_reg tmp_src = retype(src_reg(this, glsl_type::vec4_type), src.type); in emit_conversion_to_double()
1381 src_reg tmp32 = src_reg(this, glsl_type::vec4_type); in nir_emit_alu()
1382 src_reg zero = src_reg(this, glsl_type::vec4_type); in nir_emit_alu()
Dtest_fs_saturate_propagation.cpp645 fs_reg dst0 = v->vgrf(glsl_type::vec4_type); in TEST_F()
Dbrw_vec4.cpp984 glsl_type::dvec4_type : glsl_type::vec4_type; in move_push_constants_to_pull_constants()
1964 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.cpp105 glsl_type::get_array_instance(glsl_type::vec4_type, 5); in SetUp()
227 new(mem_ctx) ir_variable(glsl_type::vec4_type, "a", ir_var_auto); in TEST_F()
421 ir_variable *var_c = new(mem_ctx) ir_variable(glsl_type::vec4_type, in TEST_F()
450 ir_variable *var_a = new(mem_ctx) ir_variable(glsl_type::vec4_type, in TEST_F()
523 ir_variable *var_a = new(mem_ctx) ir_variable(glsl_type::vec4_type, in TEST_F()
555 ir_variable *var_a = new(mem_ctx) ir_variable(glsl_type::vec4_type, in TEST_F()
596 ir_variable *var_a = new(mem_ctx) ir_variable(glsl_type::vec4_type, in TEST_F()
/external/mesa3d/src/mesa/main/
Dff_fragment_shader.cpp635 ir_variable *temp_var = p->make_temp(glsl_type::vec4_type, "texenv_combine"); in emit_texenv()
705 shift = new(p->mem_ctx) ir_constant(glsl_type::vec4_type, in emit_texenv()
741 p->src_texture[unit] = p->make_temp(glsl_type::vec4_type, in load_texture()
807 p->src_texture[unit] = p->make_temp(glsl_type::vec4_type, in load_texture()
826 tex->set_sampler(deref, glsl_type::vec4_type); in load_texture()
911 ir_variable *fog_result = p->make_temp(glsl_type::vec4_type, "fog_result"); in emit_fog_instructions()
1002 ir_variable *spec_result = p->make_temp(glsl_type::vec4_type, in emit_instructions()
/external/mesa3d/src/mesa/program/
Dir_to_mesa.cpp743 src_reg temp = get_temp(glsl_type::vec4_type); in reladdr_to_temp()
877 src_reg abs_difference = get_temp(glsl_type::vec4_type); in emit_equality_comparison()
895 difference = get_temp(glsl_type::vec4_type); in emit_equality_comparison()
1069 src_reg temp = get_temp(glsl_type::vec4_type); in visit()
1092 src_reg temp = get_temp(glsl_type::vec4_type); in visit()
1940 coord = get_temp(glsl_type::vec4_type); in visit()
1952 result_src = get_temp(glsl_type::vec4_type); in visit()
2027 tmp_src = get_temp(glsl_type::vec4_type); in visit()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_soa.c2235 struct lp_type vec4_type = bld->texel_type; in lp_build_clamp_border_color() local
2249 vec4_type.length = 4; in lp_build_clamp_border_color()
2250 lp_build_context_init(&vec4_bld, gallivm, vec4_type); in lp_build_clamp_border_color()
2287 min_clamp = lp_build_const_vec(gallivm, vec4_type, -1.0F); in lp_build_clamp_border_color()
2297 min_clamp = lp_build_const_int_vec(gallivm, vec4_type, in lp_build_clamp_border_color()
2299 max_clamp = lp_build_const_int_vec(gallivm, vec4_type, in lp_build_clamp_border_color()
2325 max_clamp = lp_build_const_int_vec(gallivm, vec4_type, in lp_build_clamp_border_color()
2341 max_clamp = lp_build_const_aos(gallivm, vec4_type, max10, max10, in lp_build_clamp_border_color()
2346 min_clamp = lp_build_const_aos(gallivm, vec4_type, -1.0F, -1.0F, in lp_build_clamp_border_color()
2352 min_clamp = lp_build_const_aos(gallivm, vec4_type, -1.0F, -1.0F, in lp_build_clamp_border_color()
[all …]
/external/mesa3d/src/compiler/
Dnir_types.cpp450 return glsl_type::vec4_type; in glsl_vec4_type()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp1556 glsl_type::vec4_type); in visit_expression()
1559 st_src_reg temp = get_temp(glsl_type::vec4_type); in visit_expression()
1614 glsl_type::vec4_type); in visit_expression()
1679 glsl_type::vec4_type); in visit_expression()
2168 glsl_type::vec4_type); in visit_expression()
4323 coord = get_temp(glsl_type::vec4_type); in visit()
4474 tmp_src = get_temp(glsl_type::vec4_type); in visit()
5570 st_src_reg tmp = get_temp(glsl_type::vec4_type); in merge_two_dsts()

12