Home
last modified time | relevance | path

Searched refs:uint_type (Results 1 – 25 of 30) sorted by relevance

12

/external/mesa3d/src/compiler/glsl/
Dir_expression_operation.py81 uint_type = type("unsigned", "u", "GLSL_TYPE_UINT") variable
87 all_types = (uint_type, int_type, float_type, double_type, bool_type)
88 numeric_types = (uint_type, int_type, float_type, double_type)
90 integer_types = (uint_type, int_type)
434 …operation("f2u", 1, source_types=(float_type,), dest_type=uint_type, c_expression="(unsigned) {src…
446 …operation("u2f", 1, source_types=(uint_type,), dest_type=float_type, c_expression="(float) {src0}"…
448 operation("i2u", 1, source_types=(int_type,), dest_type=uint_type, c_expression="{src0}"),
450 operation("u2i", 1, source_types=(uint_type,), dest_type=int_type, c_expression="{src0}"),
460 operation("d2u", 1, source_types=(double_type,), dest_type=uint_type, c_expression="{src0}"),
462 operation("u2d", 1, source_types=(uint_type,), dest_type=double_type, c_expression="{src0}"),
[all …]
Dlower_packing_builtins.cpp276 assert(uint_rval->type == glsl_type::uint_type); in unpack_uint_to_uvec2()
279 ir_variable *u = factory.make_temp(glsl_type::uint_type, in unpack_uint_to_uvec2()
305 assert(uint_rval->type == glsl_type::uint_type); in unpack_uint_to_ivec2()
339 assert(uint_rval->type == glsl_type::uint_type); in unpack_uint_to_uvec4()
342 ir_variable *u = factory.make_temp(glsl_type::uint_type, in unpack_uint_to_uvec4()
386 assert(uint_rval->type == glsl_type::uint_type); in unpack_uint_to_ivec4()
459 assert(result->type == glsl_type::uint_type); in lower_pack_snorm_2x16()
508 assert(result->type == glsl_type::uint_type); in lower_pack_snorm_4x8()
557 assert(uint_rval->type == glsl_type::uint_type); in lower_unpack_snorm_2x16()
614 assert(uint_rval->type == glsl_type::uint_type); in lower_unpack_snorm_4x8()
[all …]
Dlower_shared_reference.cpp156 ir_variable *load_offset = new(mem_ctx) ir_variable(glsl_type::uint_type, in handle_rvalue()
217 ir_variable *store_offset = new(mem_ctx) ir_variable(glsl_type::uint_type, in handle_assignment()
272 ir_variable(glsl_type::uint_type, "offset" , ir_var_function_in); in shared_store()
280 ir_variable(glsl_type::uint_type, "write_mask" , ir_var_function_in); in shared_store()
307 ir_variable(glsl_type::uint_type, "offset_ref" , ir_var_function_in); in shared_load()
387 ir_variable(glsl_type::uint_type, "offset" , ir_var_function_in); in lower_shared_atomic_intrinsic()
391 glsl_type::int_type : glsl_type::uint_type; in lower_shared_atomic_intrinsic()
Dlower_ubo_reference.cpp207 if (array_index->type != glsl_type::uint_type) in interface_field_name()
372 ir_variable *load_offset = new(mem_ctx) ir_variable(glsl_type::uint_type, in handle_rvalue()
433 ir_variable(glsl_type::uint_type, "block_ref" , ir_var_function_in); in ssbo_store()
437 ir_variable(glsl_type::uint_type, "offset" , ir_var_function_in); in ssbo_store()
445 ir_variable(glsl_type::uint_type, "write_mask" , ir_var_function_in); in ssbo_store()
449 ir_variable(glsl_type::uint_type, "access" , ir_var_function_in); in ssbo_store()
478 ir_variable(glsl_type::uint_type, "block_ref" , ir_var_function_in); in ssbo_load()
482 ir_variable(glsl_type::uint_type, "offset_ref" , ir_var_function_in); in ssbo_load()
486 ir_variable(glsl_type::uint_type, "access" , ir_var_function_in); in ssbo_load()
576 new(mem_ctx) ir_variable(glsl_type::uint_type, in write_to_memory()
[all …]
Dbuiltin_functions.cpp1017 glsl_type::uint_type, in create_intrinsics()
1027 glsl_type::uint_type, in create_intrinsics()
1037 glsl_type::uint_type, in create_intrinsics()
1047 glsl_type::uint_type, in create_intrinsics()
1057 glsl_type::uint_type, in create_intrinsics()
1067 glsl_type::uint_type, in create_intrinsics()
1077 glsl_type::uint_type, in create_intrinsics()
1087 glsl_type::uint_type, in create_intrinsics()
1234 _##NAME(glsl_type::uint_type), \ in create_builtins()
1283 _##NAME(v130, glsl_type::uint_type, glsl_type::uint_type), \ in create_builtins()
[all …]
Dir_validate.cpp358 assert(ir->type == glsl_type::uint_type); in visit_leave()
364 assert(ir->type == glsl_type::uint_type); in visit_leave()
377 assert(ir->operands[0]->type == glsl_type::uint_type); in visit_leave()
383 assert(ir->operands[0]->type == glsl_type::uint_type); in visit_leave()
415 assert(ir->operands[0]->type == glsl_type::uint_type); in visit_leave()
584 assert(ir->operands[0]->type == glsl_type::uint_type); in visit_leave()
586 assert(ir->operands[1]->type == glsl_type::uint_type); in visit_leave()
Dlower_vector_insert.cpp112 expr->operands[2]->type == glsl_type::uint_type); in handle_rvalue()
Dlower_vec_index_to_cond_assign.cpp92 orig_index->type == glsl_type::uint_type); in convert_vec_index_to_cond_assign()
Dir_builder_print_visitor.cpp99 if (ir->type == glsl_type::uint_type || in is_simple_operand()
351 if (ir->type == glsl_type::uint_type || in visit()
Dglsl_to_nir.cpp712 else if (ir->return_deref->type == glsl_type::uint_type) in visit()
721 else if (ir->return_deref->type == glsl_type::uint_type) in visit()
772 else if (ir->return_deref->type == glsl_type::uint_type) in visit()
781 else if (ir->return_deref->type == glsl_type::uint_type) in visit()
Dlower_distance.cpp234 assert (old_index->type == glsl_type::uint_type); in create_indices()
Dlower_blend_equation_advanced.cpp484 ir_variable *mode = new(mem_ctx) ir_variable(glsl_type::uint_type, in lower_blend_equation_advanced()
Dlower_instructions.cpp553 i.insert_before(assign(unpacked, ir_constant::zero(ir, glsl_type::uint_type), WRITEMASK_X)); in dldexp_to_arith()
648 new(ir) ir_variable(glsl_type::uint_type, "bits", ir_var_temporary); in dfrexp_sig_to_arith()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_vec4_gs_visitor.cpp163 this->vertex_count = src_reg(this, glsl_type::uint_type); in emit_prolog()
174 this->control_data_bits = src_reg(this, glsl_type::uint_type); in emit_prolog()
334 src_reg dword_index(this, glsl_type::uint_type); in emit_control_data_bits()
336 src_reg prev_count(this, glsl_type::uint_type); in emit_control_data_bits()
358 src_reg per_slot_offset(this, glsl_type::uint_type); in emit_control_data_bits()
372 src_reg channel(this, glsl_type::uint_type); in emit_control_data_bits()
375 src_reg one(this, glsl_type::uint_type); in emit_control_data_bits()
378 src_reg channel_mask(this, glsl_type::uint_type); in emit_control_data_bits()
425 src_reg sid(this, glsl_type::uint_type); in set_stream_control_data_bits()
429 src_reg shift_count(this, glsl_type::uint_type); in set_stream_control_data_bits()
[all …]
Dgen6_gs_visitor.cpp65 glsl_type::uint_type, in emit_prolog()
68 this->vertex_output_offset = src_reg(this, glsl_type::uint_type); in emit_prolog()
82 this->temp = src_reg(this, glsl_type::uint_type); in emit_prolog()
90 this->first_vertex = src_reg(this, glsl_type::uint_type); in emit_prolog()
96 this->prim_count = src_reg(this, glsl_type::uint_type); in emit_prolog()
103 this->sol_prim_written = src_reg(this, glsl_type::uint_type); in emit_prolog()
235 src_reg offset(this, glsl_type::uint_type); in gs_end_primitive()
265 src_reg flags_offset(this, glsl_type::uint_type); in emit_urb_write_header()
376 src_reg vertex(this, glsl_type::uint_type); in emit_thread_end()
473 src_reg data(this, glsl_type::uint_type); in emit_thread_end()
Dbrw_vec4_visitor.cpp803 dst_reg grf_offset = dst_reg(this, glsl_type::uint_type); in emit_pull_constant_load_reg()
837 const src_reg chan_index(this, glsl_type::uint_type); in emit_uniformize()
838 const dst_reg dst = retype(dst_reg(this, glsl_type::uint_type), in emit_uniformize()
1042 glsl_type::uint_type, WRITEMASK_YZ), in emit_texture()
1050 emit(MOV(dst_reg(MRF, param_base + 1, glsl_type::uint_type, WRITEMASK_Y), in emit_texture()
1207 dst_reg flags0 = dst_reg(this, glsl_type::uint_type); in emit_psiz_and_flags()
1208 dst_reg flags1 = dst_reg(this, glsl_type::uint_type); in emit_psiz_and_flags()
1730 offset = src_reg(this, glsl_type::uint_type); in emit_pull_constant_load()
1735 offset = src_reg(this, glsl_type::uint_type); in emit_pull_constant_load()
Dbrw_fs_visitor.cpp202 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()
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()
Dbrw_fs_nir.cpp1458 fs_reg tmp = vgrf(glsl_type::uint_type); in get_nir_image_deref()
1716 channel_mask = vgrf(glsl_type::uint_type); in emit_gs_control_data_bits()
1721 per_slot_offset = vgrf(glsl_type::uint_type); in emit_gs_control_data_bits()
3215 const fs_reg msg_data = vgrf(glsl_type::uint_type); in nir_emit_fs_intrinsic()
3242 const fs_reg msg_data = vgrf(glsl_type::uint_type); in nir_emit_fs_intrinsic()
3464 offset_reg = vgrf(glsl_type::uint_type); in nir_emit_cs_intrinsic()
3533 offset_reg = vgrf(glsl_type::uint_type); in nir_emit_cs_intrinsic()
3839 surf_index = vgrf(glsl_type::uint_type); in nir_emit_intrinsic()
3910 surf_index = vgrf(glsl_type::uint_type); in nir_emit_intrinsic()
3953 surf_index = vgrf(glsl_type::uint_type); in nir_emit_intrinsic()
[all …]
Dbrw_vec4_nir.cpp518 surf_index = src_reg(this, glsl_type::uint_type); in nir_emit_intrinsic()
681 surf_index = src_reg(this, glsl_type::uint_type); in nir_emit_intrinsic()
892 surf_index = src_reg(this, glsl_type::uint_type); in nir_emit_intrinsic()
992 surface = src_reg(this, glsl_type::uint_type); in nir_emit_ssbo_atomic()
1750 dst_reg tmp1 = dst_reg(this, glsl_type::uint_type); in nir_emit_alu()
1755 dst_reg tmp2 = dst_reg(this, glsl_type::uint_type); in nir_emit_alu()
2270 src_reg temp(this, glsl_type::uint_type); in nir_emit_texture()
2279 src_reg temp(this, glsl_type::uint_type); in nir_emit_texture()
Dtest_fs_cmod_propagation.cpp169 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()
Dtest_vec4_cmod_propagation.cpp255 dst_reg dest = dst_reg(v, glsl_type::uint_type); in TEST_F()
256 src_reg src0 = src_reg(v, glsl_type::uint_type); in TEST_F()
Dbrw_vec4_tcs.cpp89 invocation_id = src_reg(this, glsl_type::uint_type); in emit_prolog()
Dbrw_fs.cpp182 fs_reg vec4_offset = vgrf(glsl_type::uint_type); in VARYING_PULL_CONSTANT_LOAD()
593 payload = vgrf(glsl_type::uint_type); in SHADER_TIME_ADD()
6035 this->final_gs_vertex_count = vgrf(glsl_type::uint_type); in run_gs()
6039 this->control_data_bits = vgrf(glsl_type::uint_type); in run_gs()
/external/mesa3d/src/compiler/
Dnir_types.cpp288 return glsl_type::uint_type; in glsl_uint_type()
Dglsl_types.cpp348 return uint_type; in get_base_type()
374 return uint_type; in get_scalar_type()
503 uint_type, uvec2_type, uvec3_type, uvec4_type in uvec()

12