/external/mesa3d/src/compiler/glsl/ |
D | ir_expression_operation.py | 81 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 …]
|
D | lower_packing_builtins.cpp | 276 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 …]
|
D | lower_shared_reference.cpp | 156 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()
|
D | lower_ubo_reference.cpp | 207 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 …]
|
D | builtin_functions.cpp | 1017 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 …]
|
D | ir_validate.cpp | 358 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()
|
D | lower_vector_insert.cpp | 112 expr->operands[2]->type == glsl_type::uint_type); in handle_rvalue()
|
D | lower_vec_index_to_cond_assign.cpp | 92 orig_index->type == glsl_type::uint_type); in convert_vec_index_to_cond_assign()
|
D | ir_builder_print_visitor.cpp | 99 if (ir->type == glsl_type::uint_type || in is_simple_operand() 351 if (ir->type == glsl_type::uint_type || in visit()
|
D | glsl_to_nir.cpp | 712 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()
|
D | lower_distance.cpp | 234 assert (old_index->type == glsl_type::uint_type); in create_indices()
|
D | lower_blend_equation_advanced.cpp | 484 ir_variable *mode = new(mem_ctx) ir_variable(glsl_type::uint_type, in lower_blend_equation_advanced()
|
D | lower_instructions.cpp | 553 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/ |
D | brw_vec4_gs_visitor.cpp | 163 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 …]
|
D | gen6_gs_visitor.cpp | 65 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()
|
D | brw_vec4_visitor.cpp | 803 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()
|
D | brw_fs_visitor.cpp | 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() 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()
|
D | brw_fs_nir.cpp | 1458 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 …]
|
D | brw_vec4_nir.cpp | 518 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()
|
D | test_fs_cmod_propagation.cpp | 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()
|
D | test_vec4_cmod_propagation.cpp | 255 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()
|
D | brw_vec4_tcs.cpp | 89 invocation_id = src_reg(this, glsl_type::uint_type); in emit_prolog()
|
D | brw_fs.cpp | 182 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/ |
D | nir_types.cpp | 288 return glsl_type::uint_type; in glsl_uint_type()
|
D | glsl_types.cpp | 348 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()
|