Home
last modified time | relevance | path

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

12

/external/deqp-deps/SPIRV-Tools/source/util/
Dhex_float.h68 using uint_type = void; member
73 using uint_type = uint32_t;
82 static float getAsFloat(const uint_type& t) { return BitwiseCast<float>(t); }
84 static uint_type getBitsFromFloat(const float& t) {
85 return BitwiseCast<uint_type>(t);
93 using uint_type = uint64_t;
102 static double getAsFloat(const uint_type& t) {
106 static uint_type getBitsFromFloat(const double& t) {
107 return BitwiseCast<uint_type>(t);
115 using uint_type = uint16_t;
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/util/
Dhex_float.h68 using uint_type = void; member
73 using uint_type = uint32_t;
82 static float getAsFloat(const uint_type& t) { return BitwiseCast<float>(t); }
84 static uint_type getBitsFromFloat(const float& t) {
85 return BitwiseCast<uint_type>(t);
93 using uint_type = uint64_t;
102 static double getAsFloat(const uint_type& t) {
106 static uint_type getBitsFromFloat(const double& t) {
107 return BitwiseCast<uint_type>(t);
115 using uint_type = uint16_t;
[all …]
/external/deqp-deps/glslang/SPIRV/
Dhex_float.h72 typedef void uint_type; typedef
77 typedef uint32_t uint_type;
89 typedef uint64_t uint_type;
101 typedef uint16_t uint_type;
117 typedef typename FloatProxyTraits<T>::uint_type uint_type;
125 FloatProxy(T val) { data_ = BitwiseCast<uint_type>(val); }
129 FloatProxy(uint_type val) { data_ = val; }
133 return static_cast<uint_type>(data_ ^
134 (uint_type(0x1) << (sizeof(T) * 8 - 1)));
141 uint_type data() const { return data_; }
[all …]
/external/mesa3d/src/compiler/glsl/
Dir_expression_operation.py80 uint_type = type("unsigned", "u", "GLSL_TYPE_UINT") variable
88 all_types = (uint_type, int_type, float_type, double_type, uint64_type, int64_type, bool_type)
89 numeric_types = (uint_type, int_type, float_type, double_type, uint64_type, int64_type)
91 integer_types = (uint_type, int_type, uint64_type, int64_type)
432 …operation("f2u", 1, source_types=(float_type,), dest_type=uint_type, c_expression="(unsigned) {src…
440 …operation("i2b", 1, source_types=(uint_type, int_type), dest_type=bool_type, c_expression="{src0} …
444 …operation("u2f", 1, source_types=(uint_type,), dest_type=float_type, c_expression="(float) {src0}"…
446 operation("i2u", 1, source_types=(int_type,), dest_type=uint_type, c_expression="{src0}"),
448 operation("u2i", 1, source_types=(uint_type,), dest_type=int_type, c_expression="{src0}"),
458 operation("d2u", 1, source_types=(double_type,), dest_type=uint_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_ubo_reference.cpp210 if (array_index->type != glsl_type::uint_type) in interface_field_name()
378 ir_variable *load_offset = new(mem_ctx) ir_variable(glsl_type::uint_type, in handle_rvalue()
439 ir_variable(glsl_type::uint_type, "block_ref" , ir_var_function_in); in ssbo_store()
443 ir_variable(glsl_type::uint_type, "offset" , ir_var_function_in); in ssbo_store()
451 ir_variable(glsl_type::uint_type, "write_mask" , ir_var_function_in); in ssbo_store()
455 ir_variable(glsl_type::uint_type, "access" , ir_var_function_in); in ssbo_store()
484 ir_variable(glsl_type::uint_type, "block_ref" , ir_var_function_in); in ssbo_load()
488 ir_variable(glsl_type::uint_type, "offset_ref" , ir_var_function_in); in ssbo_load()
492 ir_variable(glsl_type::uint_type, "access" , ir_var_function_in); in ssbo_load()
585 new(mem_ctx) ir_variable(glsl_type::uint_type, in write_to_memory()
[all …]
Dlower_shared_reference.cpp157 ir_variable *load_offset = new(mem_ctx) ir_variable(glsl_type::uint_type, in handle_rvalue()
218 ir_variable *store_offset = new(mem_ctx) ir_variable(glsl_type::uint_type, in handle_assignment()
273 ir_variable(glsl_type::uint_type, "offset" , ir_var_function_in); in shared_store()
281 ir_variable(glsl_type::uint_type, "write_mask" , ir_var_function_in); in shared_store()
308 ir_variable(glsl_type::uint_type, "offset_ref" , ir_var_function_in); in shared_load()
388 ir_variable(glsl_type::uint_type, "offset" , ir_var_function_in); in lower_shared_atomic_intrinsic()
392 glsl_type::int_type : glsl_type::uint_type; in lower_shared_atomic_intrinsic()
Dbuiltin_functions.cpp1108 glsl_type::uint_type, in create_intrinsics()
1118 glsl_type::uint_type, in create_intrinsics()
1128 glsl_type::uint_type, in create_intrinsics()
1138 glsl_type::uint_type, in create_intrinsics()
1148 glsl_type::uint_type, in create_intrinsics()
1158 glsl_type::uint_type, in create_intrinsics()
1168 glsl_type::uint_type, in create_intrinsics()
1178 glsl_type::uint_type, in create_intrinsics()
1242 _read_invocation_intrinsic(glsl_type::uint_type), in create_intrinsics()
1259 _read_first_invocation_intrinsic(glsl_type::uint_type), in create_intrinsics()
[all …]
Dir_validate.cpp464 assert(ir->type == glsl_type::uint_type); in visit_leave()
470 assert(ir->type == glsl_type::uint_type); in visit_leave()
503 assert(ir->operands[0]->type == glsl_type::uint_type); in visit_leave()
509 assert(ir->operands[0]->type == glsl_type::uint_type); in visit_leave()
561 assert(ir->operands[0]->type == glsl_type::uint_type); in visit_leave()
721 assert(ir->operands[0]->type == glsl_type::uint_type); in visit_leave()
723 assert(ir->operands[1]->type == glsl_type::uint_type); in visit_leave()
Dlower_vector_insert.cpp113 expr->operands[2]->type == glsl_type::uint_type); in handle_rvalue()
Dlower_vec_index_to_cond_assign.cpp91 orig_index->type == glsl_type::uint_type); in convert_vec_index_to_cond_assign()
Dlower_cs_derived.cpp188 ir_variable(glsl_type::uint_type, "__LocalInvocationIndex", ir_var_temporary); in make_gl_LocalInvocationIndex()
Dir_builder_print_visitor.cpp98 if (ir->type == glsl_type::uint_type || in is_simple_operand()
350 if (ir->type == glsl_type::uint_type || in visit()
Dglsl_to_nir.cpp720 else if (ir->return_deref->type == glsl_type::uint_type) in visit()
729 else if (ir->return_deref->type == glsl_type::uint_type) in visit()
780 else if (ir->return_deref->type == glsl_type::uint_type) in visit()
789 else if (ir->return_deref->type == glsl_type::uint_type) in visit()
/external/mesa3d/src/intel/compiler/
Dbrw_vec4_gs_visitor.cpp172 this->vertex_count = src_reg(this, glsl_type::uint_type); in emit_prolog()
183 this->control_data_bits = src_reg(this, glsl_type::uint_type); in emit_prolog()
343 src_reg dword_index(this, glsl_type::uint_type); in emit_control_data_bits()
345 src_reg prev_count(this, glsl_type::uint_type); in emit_control_data_bits()
367 src_reg per_slot_offset(this, glsl_type::uint_type); in emit_control_data_bits()
381 src_reg channel(this, glsl_type::uint_type); in emit_control_data_bits()
384 src_reg one(this, glsl_type::uint_type); in emit_control_data_bits()
387 src_reg channel_mask(this, glsl_type::uint_type); in emit_control_data_bits()
434 src_reg sid(this, glsl_type::uint_type); in set_stream_control_data_bits()
438 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.cpp808 dst_reg grf_offset = dst_reg(this, glsl_type::uint_type); in emit_pull_constant_load_reg()
842 const src_reg chan_index(this, glsl_type::uint_type); in emit_uniformize()
843 const dst_reg dst = retype(dst_reg(this, glsl_type::uint_type), in emit_uniformize()
1035 glsl_type::uint_type, WRITEMASK_YZ), in emit_texture()
1043 emit(MOV(dst_reg(MRF, param_base + 1, glsl_type::uint_type, WRITEMASK_Y), in emit_texture()
1200 dst_reg flags0 = dst_reg(this, glsl_type::uint_type); in emit_psiz_and_flags()
1201 dst_reg flags1 = dst_reg(this, glsl_type::uint_type); in emit_psiz_and_flags()
1726 offset = src_reg(this, glsl_type::uint_type); in emit_pull_constant_load()
1731 offset = src_reg(this, glsl_type::uint_type); in emit_pull_constant_load()
Dbrw_fs_visitor.cpp158 this->pixel_x = vgrf(glsl_type::uint_type); in emit_interpolation_setup_gen4()
159 this->pixel_y = vgrf(glsl_type::uint_type); in emit_interpolation_setup_gen4()
240 fs_reg int_pixel_x = vgrf(glsl_type::uint_type); in emit_interpolation_setup_gen6()
241 fs_reg int_pixel_y = vgrf(glsl_type::uint_type); in emit_interpolation_setup_gen6()
Dbrw_vec4_nir.cpp489 surf_index = src_reg(this, glsl_type::uint_type); in nir_emit_intrinsic()
652 surf_index = src_reg(this, glsl_type::uint_type); in nir_emit_intrinsic()
826 surf_index = src_reg(this, glsl_type::uint_type); in nir_emit_intrinsic()
845 offset_reg = src_reg(this, glsl_type::uint_type); in nir_emit_intrinsic()
928 surface = src_reg(this, glsl_type::uint_type); in nir_emit_ssbo_atomic()
1638 dst_reg tmp1 = dst_reg(this, glsl_type::uint_type); in nir_emit_alu()
1643 dst_reg tmp2 = dst_reg(this, glsl_type::uint_type); in nir_emit_alu()
2161 src_reg temp(this, glsl_type::uint_type); in nir_emit_texture()
2170 src_reg temp(this, glsl_type::uint_type); in nir_emit_texture()
Dbrw_fs_nir.cpp1615 fs_reg tmp = vgrf(glsl_type::uint_type); in get_nir_image_deref()
1873 channel_mask = vgrf(glsl_type::uint_type); in emit_gs_control_data_bits()
1878 per_slot_offset = vgrf(glsl_type::uint_type); in emit_gs_control_data_bits()
3368 const fs_reg msg_data = vgrf(glsl_type::uint_type); in nir_emit_fs_intrinsic()
3395 const fs_reg msg_data = vgrf(glsl_type::uint_type); in nir_emit_fs_intrinsic()
3621 offset_reg = vgrf(glsl_type::uint_type); in nir_emit_cs_intrinsic()
3682 offset_reg = vgrf(glsl_type::uint_type); in nir_emit_cs_intrinsic()
3940 surf_index = vgrf(glsl_type::uint_type); in nir_emit_intrinsic()
4039 surf_index = vgrf(glsl_type::uint_type); in nir_emit_intrinsic()
4082 surf_index = vgrf(glsl_type::uint_type); in nir_emit_intrinsic()
[all …]
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.cpp78 invocation_id = src_reg(this, glsl_type::uint_type); in emit_prolog()
/external/mesa3d/src/compiler/
Dnir_types.cpp315 return glsl_type::uint_type; in glsl_uint_type()
Dglsl_types.cpp344 return uint_type; in get_base_type()
380 return uint_type; in get_scalar_type()
553 uint_type, uvec2_type, uvec3_type, uvec4_type in uvec()

12