Home
last modified time | relevance | path

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

1234

/third_party/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/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 …]
/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 …]
/third_party/flutter/skia/third_party/externals/spirv-tools/source/util/
Dhex_float.h59 using uint_type = void; member
64 using uint_type = uint32_t;
76 using uint_type = uint64_t;
88 using uint_type = uint16_t;
104 using uint_type = typename FloatProxyTraits<T>::uint_type;
112 FloatProxy(T val) { data_ = BitwiseCast<uint_type>(val); }
116 FloatProxy(uint_type val) { data_ = val; }
120 return static_cast<uint_type>(data_ ^
121 (uint_type(0x1) << (sizeof(T) * 8 - 1)));
128 uint_type data() const { return data_; }
[all …]
/third_party/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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dfuzzerutil_test.cpp1609 const uint32_t uint_type = 9; // The id of OpTypeInt 32 0 in TEST() local
1614 int_type, uint_type), in TEST()
1618 int_type, uint_type)); in TEST()
1620 int_type, uint_type)); in TEST()
1625 context.get(), SpvOpAtomicExchange, 0, int_type, uint_type), in TEST()
1629 1, int_type, uint_type)); in TEST()
1631 2, int_type, uint_type)); in TEST()
1633 context.get(), SpvOpAtomicExchange, 3, int_type, uint_type)); in TEST()
1638 0, int_type, uint_type), in TEST()
1642 int_type, uint_type)); in TEST()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/
Dfuzzerutil_test.cpp1609 const uint32_t uint_type = 9; // The id of OpTypeInt 32 0 in TEST() local
1614 int_type, uint_type), in TEST()
1618 int_type, uint_type)); in TEST()
1620 int_type, uint_type)); in TEST()
1625 context.get(), SpvOpAtomicExchange, 0, int_type, uint_type), in TEST()
1629 1, int_type, uint_type)); in TEST()
1631 2, int_type, uint_type)); in TEST()
1633 context.get(), SpvOpAtomicExchange, 3, int_type, uint_type)); in TEST()
1638 0, int_type, uint_type), in TEST()
1642 int_type, uint_type)); in TEST()
[all …]
/third_party/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.cpp1399 glsl_type::uint_type, in create_intrinsics()
1415 glsl_type::uint_type, in create_intrinsics()
1434 glsl_type::uint_type, in create_intrinsics()
1453 glsl_type::uint_type, in create_intrinsics()
1469 glsl_type::uint_type, in create_intrinsics()
1485 glsl_type::uint_type, in create_intrinsics()
1501 glsl_type::uint_type, in create_intrinsics()
1517 glsl_type::uint_type, in create_intrinsics()
1597 _read_invocation_intrinsic(glsl_type::uint_type), in create_intrinsics()
1614 _read_first_invocation_intrinsic(glsl_type::uint_type), in create_intrinsics()
[all …]
/third_party/skia/third_party/externals/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 = sign | (static_cast<uint_type>(exp) << kExp) |
131 (static_cast<uint_type>(bits) & kMask);
/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 …]
/third_party/boost/boost/spirit/home/x3/numeric/
Duint.hpp44 #define BOOST_SPIRIT_X3_UINT_PARSER(uint_type, name) \ argument
45 typedef uint_parser<uint_type> name##type; \
61 #define BOOST_SPIRIT_X3_UINT_PARSER(uint_type, radix, name) \ argument
62 typedef uint_parser<uint_type, radix> name##type; \
/third_party/mesa3d/src/intel/compiler/
Dbrw_vec4_gs_visitor.cpp173 this->vertex_count = src_reg(this, glsl_type::uint_type); in emit_prolog()
184 this->control_data_bits = src_reg(this, glsl_type::uint_type); in emit_prolog()
320 src_reg dword_index(this, glsl_type::uint_type); in emit_control_data_bits()
322 src_reg prev_count(this, glsl_type::uint_type); in emit_control_data_bits()
344 src_reg per_slot_offset(this, glsl_type::uint_type); in emit_control_data_bits()
358 src_reg channel(this, glsl_type::uint_type); in emit_control_data_bits()
361 src_reg one(this, glsl_type::uint_type); in emit_control_data_bits()
364 src_reg channel_mask(this, glsl_type::uint_type); in emit_control_data_bits()
404 src_reg sid(this, glsl_type::uint_type); in set_stream_control_data_bits()
408 src_reg shift_count(this, glsl_type::uint_type); in set_stream_control_data_bits()
[all …]
Dgfx6_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()
233 src_reg offset(this, glsl_type::uint_type); in gs_end_primitive()
263 src_reg flags_offset(this, glsl_type::uint_type); in emit_urb_write_header()
374 src_reg vertex(this, glsl_type::uint_type); in emit_thread_end()
471 src_reg data(this, glsl_type::uint_type); in emit_thread_end()
Dtest_fs_cmod_propagation.cpp225 fs_reg dest = v->vgrf(glsl_type::uint_type); in TEST_F()
226 fs_reg src0 = v->vgrf(glsl_type::uint_type); in TEST_F()
257 fs_reg dest = v->vgrf(glsl_type::uint_type); in TEST_F()
884 fs_reg dst0 = v->vgrf(glsl_type::uint_type); in TEST_F()
885 fs_reg src0 = v->vgrf(glsl_type::uint_type); in TEST_F()
942 fs_reg dst0 = v->vgrf(glsl_type::uint_type); in TEST_F()
943 fs_reg src0 = v->vgrf(glsl_type::uint_type); in TEST_F()
2653 fs_reg dest = v->vgrf(glsl_type::uint_type); in TEST_F()
2654 fs_reg src0 = v->vgrf(glsl_type::uint_type); in TEST_F()
2655 fs_reg src1 = v->vgrf(glsl_type::uint_type); in TEST_F()
[all …]
/third_party/boost/boost/convert/
Dstrtol.hpp47 …template<typename string_type> void str_to(cnv::range<string_type> v, optional< uint_type>& r) co… in str_to()
56 …template <typename char_type> cnv::range<char_type*> to_str ( uint_type v, char_type* buf) const … in to_str()
161 using uint_type = unsigned int; in str_to_i() typedef
167 uint_type ch = *s; in str_to_i()
170 uint_type base = uint_type(base_); in str_to_i()
179 uint_type const cutlim = umax % base; in str_to_i()
Dbase.hpp37 using uint_type = unsigned int; typedef
58 BOOST_CNV_TO_STRING ( uint_type v, optional<string_type>& r) const { to_str_(v, r); } in BOOST_CNV_TO_STRING()
70 BOOST_CNV_STRING_TO (string_type const& s, optional< uint_type>& r) const { str_to_(s, r); } in BOOST_CNV_STRING_TO()
/third_party/boost/boost/asio/ip/
Daddress_v4.hpp54 typedef uint_least32_t uint_type; typedef in boost::asio::ip::address_v4
77 BOOST_ASIO_DECL explicit address_v4(uint_type addr);
113 BOOST_ASIO_DECL uint_type to_uint() const BOOST_ASIO_NOEXCEPT;
260 inline address_v4 make_address_v4(address_v4::uint_type addr) in make_address_v4()
/third_party/boost/libs/asio/include/boost/asio/ip/
Daddress_v4.hpp54 typedef uint_least32_t uint_type; typedef in boost::asio::ip::address_v4
77 BOOST_ASIO_DECL explicit address_v4(uint_type addr);
113 BOOST_ASIO_DECL uint_type to_uint() const BOOST_ASIO_NOEXCEPT;
260 inline address_v4 make_address_v4(address_v4::uint_type addr) in make_address_v4()
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.c290 SpvId uint_type = spirv_builder_type_uint(&ctx->builder, bit_size); in get_uvec_type() local
292 return spirv_builder_type_vector(&ctx->builder, uint_type, in get_uvec_type()
296 return uint_type; in get_uvec_type()
926 SpvId uint_type = spirv_builder_type_uint(&ctx->builder, bitsize); in get_bo_array_type() local
927 array_type = spirv_builder_type_runtime_array(&ctx->builder, uint_type); in get_bo_array_type()
1956 SpvId uint_type = get_uvec_type(ctx, MIN2(bit_size, 32), 1); in emit_load_bo() local
1975 uint_type); in emit_load_bo()
1994 SpvId vec_offset = emit_binop(ctx, SpvOpUDiv, uint_type, offset, uint_size); in emit_load_bo()
2010 constituents[i] = emit_atomic(ctx, SpvOpAtomicLoad, uint_type, ptr, 0, 0); in emit_load_bo()
2012 constituents[i] = spirv_builder_emit_load(&ctx->builder, uint_type, ptr); in emit_load_bo()
[all …]
/third_party/boost/libs/asio/include/boost/asio/ip/impl/
Daddress_v4.ipp49 address_v4::address_v4(address_v4::uint_type addr)
51 if ((std::numeric_limits<uint_type>::max)() > 0xFFFFFFFF)
73 address_v4::uint_type address_v4::to_uint() const BOOST_ASIO_NOEXCEPT
/third_party/boost/boost/asio/ip/impl/
Daddress_v4.ipp49 address_v4::address_v4(address_v4::uint_type addr)
51 if ((std::numeric_limits<uint_type>::max)() > 0xFFFFFFFF)
73 address_v4::uint_type address_v4::to_uint() const BOOST_ASIO_NOEXCEPT

1234