Home
last modified time | relevance | path

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

123

/external/angle/third_party/vulkan-deps/spirv-tools/src/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/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/angle/third_party/vulkan-deps/glslang/src/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.py82 uint_type = type("unsigned", "u", "GLSL_TYPE_UINT") variable
90 all_types = (uint_type, int_type, float_type, double_type, uint64_type, int64_type, bool_type)
91 numeric_types = (uint_type, int_type, float_type, double_type, uint64_type, int64_type)
93 integer_types = (uint_type, int_type, uint64_type, int64_type)
434 …operation("f2u", 1, source_types=(float_type,), dest_type=uint_type, c_expression="(unsigned) {src…
444 …operation("i2b", 1, source_types=(uint_type, int_type), dest_type=bool_type, c_expression="{src0} …
448 …operation("u2f", 1, source_types=(uint_type,), dest_type=float_type, c_expression="(float) {src0}"…
450 operation("i2u", 1, source_types=(int_type,), dest_type=uint_type, c_expression="{src0}"),
452 operation("u2i", 1, source_types=(uint_type,), dest_type=int_type, c_expression="{src0}"),
467 operation("u2u", 1, source_types=(uint_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.cpp213 if (array_index->type != glsl_type::uint_type) in interface_field_name()
381 ir_variable *load_offset = new(mem_ctx) ir_variable(glsl_type::uint_type, in handle_rvalue()
442 ir_variable(glsl_type::uint_type, "block_ref" , ir_var_function_in); in ssbo_store()
446 ir_variable(glsl_type::uint_type, "offset" , ir_var_function_in); in ssbo_store()
454 ir_variable(glsl_type::uint_type, "write_mask" , ir_var_function_in); in ssbo_store()
458 ir_variable(glsl_type::uint_type, "access" , ir_var_function_in); in ssbo_store()
487 ir_variable(glsl_type::uint_type, "block_ref" , ir_var_function_in); in ssbo_load()
491 ir_variable(glsl_type::uint_type, "offset_ref" , ir_var_function_in); in ssbo_load()
495 ir_variable(glsl_type::uint_type, "access" , ir_var_function_in); in ssbo_load()
588 new(mem_ctx) ir_variable(glsl_type::uint_type, in write_to_memory()
[all …]
Dlower_shared_reference.cpp160 ir_variable *load_offset = new(mem_ctx) ir_variable(glsl_type::uint_type, in handle_rvalue()
221 ir_variable *store_offset = new(mem_ctx) ir_variable(glsl_type::uint_type, in handle_assignment()
276 ir_variable(glsl_type::uint_type, "offset" , ir_var_function_in); in shared_store()
284 ir_variable(glsl_type::uint_type, "write_mask" , ir_var_function_in); in shared_store()
311 ir_variable(glsl_type::uint_type, "offset_ref" , ir_var_function_in); in shared_load()
392 ir_variable(glsl_type::uint_type, "offset" , ir_var_function_in); in lower_shared_atomic_intrinsic()
Dbuiltin_functions.cpp1370 glsl_type::uint_type, in create_intrinsics()
1386 glsl_type::uint_type, in create_intrinsics()
1405 glsl_type::uint_type, in create_intrinsics()
1424 glsl_type::uint_type, in create_intrinsics()
1440 glsl_type::uint_type, in create_intrinsics()
1456 glsl_type::uint_type, in create_intrinsics()
1472 glsl_type::uint_type, in create_intrinsics()
1488 glsl_type::uint_type, in create_intrinsics()
1568 _read_invocation_intrinsic(glsl_type::uint_type), in create_intrinsics()
1585 _read_first_invocation_intrinsic(glsl_type::uint_type), in create_intrinsics()
[all …]
Dir_validate.cpp529 assert(ir->type == glsl_type::uint_type); in visit_leave()
535 assert(ir->type == glsl_type::uint_type); in visit_leave()
568 assert(ir->operands[0]->type == glsl_type::uint_type); in visit_leave()
574 assert(ir->operands[0]->type == glsl_type::uint_type); in visit_leave()
627 assert(ir->operands[0]->type == glsl_type::uint_type); in visit_leave()
846 assert(ir->operands[0]->type == glsl_type::uint_type); in visit_leave()
848 assert(ir->operands[1]->type == glsl_type::uint_type); in visit_leave()
Dlower_vector_insert.cpp131 expr->operands[2]->type == glsl_type::uint_type); in handle_rvalue()
/external/abseil-cpp/absl/random/internal/
Dgenerate_real.h72 using uint_type = absl::conditional_t<std::is_same<real_type, float>::value, variable
80 static_assert(sizeof(uint_type) == sizeof(real_type),
93 static constexpr uint_type kMask = (static_cast<uint_type>(1) << kExp) - 1u;
94 static constexpr int kUintBits = sizeof(uint_type) * 8;
101 uint_type sign = std::is_same<SignedTag, GenerateNegativeTag>::value
102 ? (static_cast<uint_type>(1) << (kUintBits - 1))
105 if (std::is_same<uint_type, uint64_t>::value) {
108 if (std::is_same<uint_type, uint32_t>::value) {
130 uint_type val =
132 (static_cast<uint_type>(exp) << kExp) |
[all …]
/external/openscreen/third_party/abseil/src/absl/random/internal/
Dgenerate_real.h72 using uint_type = absl::conditional_t<std::is_same<real_type, float>::value, variable
80 static_assert(sizeof(uint_type) == sizeof(real_type),
93 static constexpr uint_type kMask = (static_cast<uint_type>(1) << kExp) - 1u;
94 static constexpr int kUintBits = sizeof(uint_type) * 8;
101 uint_type sign = std::is_same<SignedTag, GenerateNegativeTag>::value
102 ? (static_cast<uint_type>(1) << (kUintBits - 1))
105 if (std::is_same<uint_type, uint64_t>::value) {
108 if (std::is_same<uint_type, uint32_t>::value) {
130 uint_type val =
132 (static_cast<uint_type>(exp) << kExp) |
[all …]
/external/libtextclassifier/abseil-cpp/absl/random/internal/
Dgenerate_real.h72 using uint_type = absl::conditional_t<std::is_same<real_type, float>::value, variable
80 static_assert(sizeof(uint_type) == sizeof(real_type),
93 static constexpr uint_type kMask = (static_cast<uint_type>(1) << kExp) - 1u;
94 static constexpr int kUintBits = sizeof(uint_type) * 8;
101 uint_type sign = std::is_same<SignedTag, GenerateNegativeTag>::value
102 ? (static_cast<uint_type>(1) << (kUintBits - 1))
105 if (std::is_same<uint_type, uint64_t>::value) {
108 if (std::is_same<uint_type, uint32_t>::value) {
130 uint_type val =
132 (static_cast<uint_type>(exp) << kExp) |
[all …]
/external/angle/third_party/abseil-cpp/absl/random/internal/
Dgenerate_real.h72 using uint_type = absl::conditional_t<std::is_same<real_type, float>::value, variable
80 static_assert(sizeof(uint_type) == sizeof(real_type),
93 static constexpr uint_type kMask = (static_cast<uint_type>(1) << kExp) - 1u;
94 static constexpr int kUintBits = sizeof(uint_type) * 8;
101 uint_type sign = std::is_same<SignedTag, GenerateNegativeTag>::value
102 ? (static_cast<uint_type>(1) << (kUintBits - 1))
105 if (std::is_same<uint_type, uint64_t>::value) {
108 if (std::is_same<uint_type, uint32_t>::value) {
130 uint_type val =
132 (static_cast<uint_type>(exp) << kExp) |
[all …]
/external/webrtc/third_party/abseil-cpp/absl/random/internal/
Dgenerate_real.h72 using uint_type = absl::conditional_t<std::is_same<real_type, float>::value, variable
80 static_assert(sizeof(uint_type) == sizeof(real_type),
93 static constexpr uint_type kMask = (static_cast<uint_type>(1) << kExp) - 1u;
94 static constexpr int kUintBits = sizeof(uint_type) * 8;
101 uint_type sign = std::is_same<SignedTag, GenerateNegativeTag>::value
102 ? (static_cast<uint_type>(1) << (kUintBits - 1))
105 if (std::is_same<uint_type, uint64_t>::value) {
108 if (std::is_same<uint_type, uint32_t>::value) {
130 uint_type val =
132 (static_cast<uint_type>(exp) << kExp) |
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/
Dgenerate_real.h72 using uint_type = absl::conditional_t<std::is_same<real_type, float>::value, variable
80 static_assert(sizeof(uint_type) == sizeof(real_type),
93 static constexpr uint_type kMask = (static_cast<uint_type>(1) << kExp) - 1u;
94 static constexpr int kUintBits = sizeof(uint_type) * 8;
101 uint_type sign = std::is_same<SignedTag, GenerateNegativeTag>::value
102 ? (static_cast<uint_type>(1) << (kUintBits - 1))
105 if (std::is_same<uint_type, uint64_t>::value) {
108 if (std::is_same<uint_type, uint32_t>::value) {
130 uint_type val =
132 (static_cast<uint_type>(exp) << kExp) |
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/fuzz/
Dtransformation_replace_id_with_synonym_test.cpp2236 const uint32_t uint_type = 9; // The id of OpTypeInt 32 0 in TEST() local
2241 context.get(), SpvOpAtomicLoad, 0, int_type, uint_type), in TEST()
2245 context.get(), SpvOpAtomicLoad, 1, int_type, uint_type)); in TEST()
2247 context.get(), SpvOpAtomicLoad, 2, int_type, uint_type)); in TEST()
2252 context.get(), SpvOpAtomicExchange, 0, int_type, uint_type), in TEST()
2256 context.get(), SpvOpAtomicExchange, 1, int_type, uint_type)); in TEST()
2258 context.get(), SpvOpAtomicExchange, 2, int_type, uint_type)); in TEST()
2260 context.get(), SpvOpAtomicExchange, 3, int_type, uint_type)); in TEST()
2265 context.get(), SpvOpAtomicStore, 0, int_type, uint_type), in TEST()
2269 context.get(), SpvOpAtomicStore, 1, int_type, uint_type)); in TEST()
[all …]
/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()
319 src_reg dword_index(this, glsl_type::uint_type); in emit_control_data_bits()
321 src_reg prev_count(this, glsl_type::uint_type); in emit_control_data_bits()
343 src_reg per_slot_offset(this, glsl_type::uint_type); in emit_control_data_bits()
357 src_reg channel(this, glsl_type::uint_type); in emit_control_data_bits()
360 src_reg one(this, glsl_type::uint_type); in emit_control_data_bits()
363 src_reg channel_mask(this, glsl_type::uint_type); in emit_control_data_bits()
403 src_reg sid(this, glsl_type::uint_type); in set_stream_control_data_bits()
407 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()
Dtest_fs_cmod_propagation.cpp212 fs_reg dest = v->vgrf(glsl_type::uint_type); in TEST_F()
213 fs_reg src0 = v->vgrf(glsl_type::uint_type); in TEST_F()
839 fs_reg dst0 = v->vgrf(glsl_type::uint_type); in TEST_F()
840 fs_reg src0 = v->vgrf(glsl_type::uint_type); in TEST_F()
897 fs_reg dst0 = v->vgrf(glsl_type::uint_type); in TEST_F()
898 fs_reg src0 = v->vgrf(glsl_type::uint_type); in TEST_F()
1976 fs_reg dest = v->vgrf(glsl_type::uint_type); in TEST_F()
1977 fs_reg src0 = v->vgrf(glsl_type::uint_type); in TEST_F()
1978 fs_reg src1 = v->vgrf(glsl_type::uint_type); in TEST_F()
2010 fs_reg dest = v->vgrf(glsl_type::uint_type); in TEST_F()
[all …]
Dbrw_vec4_visitor.cpp744 dst_reg grf_offset = dst_reg(this, glsl_type::uint_type); in emit_pull_constant_load_reg()
778 const src_reg chan_index(this, glsl_type::uint_type); in emit_uniformize()
779 const dst_reg dst = retype(dst_reg(this, glsl_type::uint_type), in emit_uniformize()
953 emit(MOV(dst_reg(MRF, param_base + 1, glsl_type::uint_type, WRITEMASK_Y), in emit_texture()
1110 dst_reg flags0 = dst_reg(this, glsl_type::uint_type); in emit_psiz_and_flags()
1118 dst_reg flags1 = dst_reg(this, glsl_type::uint_type); in emit_psiz_and_flags()
1638 offset = src_reg(this, glsl_type::uint_type); in emit_pull_constant_load()
/external/fmtlib/test/
Dscan.h59 uint_type, enumerator
88 scan_arg(unsigned& value) : type(scan_type::uint_type), uint_value(&value) {} in scan_arg()
186 case scan_type::uint_type: in on_replacement_field()
/external/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_io.c613 const struct glsl_type *uint_type = glsl_uint_type(); in emit_gs_prolog() local
617 nir_local_variable_create(impl, uint_type, "output_offset"); in emit_gs_prolog()
623 nir_local_variable_create(impl, uint_type, "header_offset"); in emit_gs_prolog()
628 nir_local_variable_create(impl, uint_type, "header"); in emit_gs_prolog()

123