Home
last modified time | relevance | path

Searched refs:uint_type (Results 1 - 25 of 53) sorted by relevance

123

/third_party/glslang/SPIRV/
H A Dhex_float.h53 // To specialize this type, you must override uint_type to define
59 typedef void uint_type; typedef
64 typedef uint32_t uint_type; typedef
76 typedef uint64_t uint_type; typedef
88 typedef uint16_t uint_type; typedef
104 typedef typename FloatProxyTraits<T>::uint_type uint_type; typedef in spvutils::FloatProxy
112 FloatProxy(T val) { data_ = BitwiseCast<uint_type>(val); } in FloatProxy()
116 FloatProxy(uint_type val) { data_ = val; } in FloatProxy()
120 return static_cast<uint_type>(data in operator -()
167 typedef void uint_type; global() typedef
191 typedef uint32_t uint_type; global() typedef
205 typedef uint64_t uint_type; global() typedef
219 typedef uint16_t uint_type; global() typedef
242 typedef typename Traits::uint_type uint_type; global() typedef in spvutils::HexFloat
657 typedef typename HF::uint_type uint_type; operator <<() typedef
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/util/
H A Dhex_float.h62 // To specialize this type, you must override uint_type to define
68 using uint_type = void;
73 using uint_type = uint32_t;
82 static float getAsFloat(const uint_type& t) { return BitwiseCast<float>(t); } in getAsFloat()
84 static uint_type getBitsFromFloat(const float& t) { in getBitsFromFloat()
85 return BitwiseCast<uint_type>(t); in getBitsFromFloat()
93 using uint_type = uint64_t;
102 static double getAsFloat(const uint_type& t) { in getAsFloat()
106 static uint_type getBitsFromFloat(const double& t) { in getBitsFromFloat()
107 return BitwiseCast<uint_type>( in getBitsFromFloat()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
H A Dhex_float.h62 // To specialize this type, you must override uint_type to define
68 using uint_type = void;
73 using uint_type = uint32_t;
82 static float getAsFloat(const uint_type& t) { return BitwiseCast<float>(t); } in getAsFloat()
84 static uint_type getBitsFromFloat(const float& t) { in getBitsFromFloat()
85 return BitwiseCast<uint_type>(t); in getBitsFromFloat()
93 using uint_type = uint64_t;
102 static double getAsFloat(const uint_type& t) { in getAsFloat()
106 static uint_type getBitsFromFloat(const double& t) { in getBitsFromFloat()
107 return BitwiseCast<uint_type>( in getBitsFromFloat()
[all...]
/third_party/spirv-tools/source/util/
H A Dhex_float.h62 // To specialize this type, you must override uint_type to define
68 using uint_type = void;
73 using uint_type = uint32_t;
82 static float getAsFloat(const uint_type& t) { return BitwiseCast<float>(t); } in getAsFloat()
84 static uint_type getBitsFromFloat(const float& t) { in getBitsFromFloat()
85 return BitwiseCast<uint_type>(t); in getBitsFromFloat()
93 using uint_type = uint64_t;
102 static double getAsFloat(const uint_type& t) { in getAsFloat()
106 static uint_type getBitsFromFloat(const double& t) { in getBitsFromFloat()
107 return BitwiseCast<uint_type>( in getBitsFromFloat()
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/
H A 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/swiftshader/third_party/SPIRV-Tools/test/fuzz/
H A 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/spirv-tools/test/fuzz/
H A Dfuzzerutil_test.cpp1609 const uint32_t uint_type = 9; // The id of OpTypeInt 32 0 in TEST() local
1615 int_type, uint_type), in TEST()
1619 context.get(), spv::Op::OpAtomicLoad, 1, int_type, uint_type)); in TEST()
1621 context.get(), spv::Op::OpAtomicLoad, 2, int_type, uint_type)); in TEST()
1627 0, int_type, uint_type), in TEST()
1631 context.get(), spv::Op::OpAtomicExchange, 1, int_type, uint_type)); in TEST()
1633 context.get(), spv::Op::OpAtomicExchange, 2, int_type, uint_type)); in TEST()
1635 context.get(), spv::Op::OpAtomicExchange, 3, int_type, uint_type)); in TEST()
1641 int_type, uint_type), in TEST()
1645 context.get(), spv::Op::OpAtomicStore, 1, int_type, uint_type)); in TEST()
[all...]
/third_party/mesa3d/src/compiler/glsl/
H A 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) {src0}"),
444 operation("i2b", 1, source_types=(uint_type, int_type), dest_type=bool_type, c_expression="{src0} ? true : false"),
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_typ
[all...]
H A 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...]
H A Dbuiltin_functions.cpp1489 glsl_type::uint_type, in create_intrinsics()
1505 glsl_type::uint_type, in create_intrinsics()
1524 glsl_type::uint_type, in create_intrinsics()
1543 glsl_type::uint_type, in create_intrinsics()
1559 glsl_type::uint_type, in create_intrinsics()
1575 glsl_type::uint_type, in create_intrinsics()
1591 glsl_type::uint_type, in create_intrinsics()
1607 glsl_type::uint_type, in create_intrinsics()
1687 _read_invocation_intrinsic(glsl_type::uint_type), in create_intrinsics()
1704 _read_first_invocation_intrinsic(glsl_type::uint_type), in create_intrinsics()
[all...]
H A 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()
851 assert(ir->operands[0]->type == glsl_type::uint_type); in visit_leave()
853 assert(ir->operands[1]->type == glsl_type::uint_type); in visit_leave()
H A Dlower_vector_insert.cpp131 expr->operands[2]->type == glsl_type::uint_type); in handle_rvalue()
H A Dlower_cs_derived.cpp189 ir_variable(glsl_type::uint_type, "__LocalInvocationIndex", ir_var_temporary); in make_gl_LocalInvocationIndex()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
H A Dgenerate_real.h72 using uint_type = absl::conditional_t<std::is_same<real_type, float>::value, in GenerateRealFromBits()
80 static_assert(sizeof(uint_type) == sizeof(real_type), in GenerateRealFromBits()
93 static constexpr uint_type kMask = (static_cast<uint_type>(1) << kExp) - 1u; in GenerateRealFromBits()
94 static constexpr int kUintBits = sizeof(uint_type) * 8; in GenerateRealFromBits()
101 uint_type sign = std::is_same<SignedTag, GenerateNegativeTag>::value in GenerateRealFromBits()
102 ? (static_cast<uint_type>(1) << (kUintBits - 1)) in GenerateRealFromBits()
105 if (std::is_same<uint_type, uint64_t>::value) { in GenerateRealFromBits()
108 if (std::is_same<uint_type, uint32_t>::value) { in GenerateRealFromBits()
130 uint_type va in GenerateRealFromBits()
[all...]
/third_party/mesa3d/src/intel/compiler/
H A 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()
318 src_reg dword_index(this, glsl_type::uint_type); in emit_control_data_bits()
320 src_reg prev_count(this, glsl_type::uint_type); in emit_control_data_bits()
342 src_reg per_slot_offset(this, glsl_type::uint_type); in emit_control_data_bits()
356 src_reg channel(this, glsl_type::uint_type); in emit_control_data_bits()
359 src_reg one(this, glsl_type::uint_type); in emit_control_data_bits()
362 src_reg channel_mask(this, glsl_type::uint_type); in emit_control_data_bits()
402 src_reg sid(this, glsl_type::uint_type); in set_stream_control_data_bits()
406 src_reg shift_count(this, glsl_type::uint_type); in set_stream_control_data_bits()
[all...]
H A Dgfx6_gs_visitor.cpp66 glsl_type::uint_type, in emit_prolog()
69 this->vertex_output_offset = src_reg(this, glsl_type::uint_type); in emit_prolog()
83 this->temp = src_reg(this, glsl_type::uint_type); in emit_prolog()
91 this->first_vertex = src_reg(this, glsl_type::uint_type); in emit_prolog()
97 this->prim_count = src_reg(this, glsl_type::uint_type); in emit_prolog()
104 this->sol_prim_written = src_reg(this, glsl_type::uint_type); in emit_prolog()
234 src_reg offset(this, glsl_type::uint_type); in gs_end_primitive()
264 src_reg flags_offset(this, glsl_type::uint_type); in emit_urb_write_header()
375 src_reg vertex(this, glsl_type::uint_type); in emit_thread_end()
472 src_reg data(this, glsl_type::uint_type); in emit_thread_end()
[all...]
H A 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...]
H A Dbrw_vec4_visitor.cpp745 dst_reg grf_offset = dst_reg(this, glsl_type::uint_type); in emit_pull_constant_load_reg()
779 const src_reg chan_index(this, glsl_type::uint_type); in emit_uniformize()
780 const dst_reg dst = retype(dst_reg(this, glsl_type::uint_type), in emit_uniformize()
853 dst_reg flags0 = dst_reg(this, glsl_type::uint_type); in emit_psiz_and_flags()
861 dst_reg flags1 = dst_reg(this, glsl_type::uint_type); in emit_psiz_and_flags()
/third_party/spirv-tools/source/opt/
H A Dinst_buff_addr_check_pass.cpp200 const analysis::Integer* uint_type = GetInteger(32, false); in GetSearchAndTestFuncId() local
201 const analysis::Vector v4uint(uint_type, 4); in GetSearchAndTestFuncId()
205 uint_type, uint_type, v4uint_type, type_mgr->GetType(GetUint64Id()), in GetSearchAndTestFuncId()
206 uint_type}; in GetSearchAndTestFuncId()
H A Dinst_bindless_check_pass.cpp65 const analysis::Integer* uint_type = GetInteger(32, false); in GenDescCheckFunctionId() local
66 const analysis::Vector v4uint(uint_type, 4); in GenDescCheckFunctionId()
68 std::vector<const analysis::Type*> param_types(kNumArgs, uint_type); in GenDescCheckFunctionId()
/third_party/mesa3d/src/broadcom/compiler/
H A Dv3d_nir_lower_io.c652 const struct glsl_type *uint_type = glsl_uint_type(); in emit_gs_prolog() local
656 nir_local_variable_create(impl, uint_type, "output_offset"); in emit_gs_prolog()
662 nir_local_variable_create(impl, uint_type, "header_offset"); in emit_gs_prolog()
667 nir_local_variable_create(impl, uint_type, "header"); in emit_gs_prolog()
/third_party/skia/third_party/externals/spirv-cross/
H A Dspirv_hlsl.cpp3497 auto uint_type = to_unsigned_basetype(integer_width); in emit_glsl_op() local
3649 emit_unary_func_op_cast(result_type, id, args[0], "firstbithigh", uint_type, uint_type); in emit_glsl_op()
4561 auto uint_type = to_unsigned_basetype(integer_width); in emit_subgroup_op() local
4705 HLSL_GROUP_OP_CAST(UMin, Min, uint_type) in emit_subgroup_op()
4706 HLSL_GROUP_OP_CAST(UMax, Max, uint_type) in emit_subgroup_op()
4710 HLSL_GROUP_OP_CAST(LogicalAnd, BitAnd, uint_type) in emit_subgroup_op()
4711 HLSL_GROUP_OP_CAST(LogicalOr, BitOr, uint_type) in emit_subgroup_op()
4712 HLSL_GROUP_OP_CAST(LogicalXor, BitXor, uint_type) in emit_subgroup_op()
4765 auto uint_type in emit_instruction() local
5671 SPIRType uint_type; remap_num_workgroups_builtin() local
[all...]
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
H A Dnir_to_spirv.c305 SpvId uint_type = spirv_builder_type_uint(&ctx->builder, bit_size); in get_uvec_type() local
307 return spirv_builder_type_vector(&ctx->builder, uint_type, in get_uvec_type()
311 return uint_type; in get_uvec_type()
995 SpvId uint_type = spirv_builder_type_uint(&ctx->builder, bitsize); in get_bo_array_type() local
996 array_type = spirv_builder_type_runtime_array(&ctx->builder, uint_type); in get_bo_array_type()
2418 SpvId uint_type = get_uvec_type(ctx, 32, 1); in emit_load_shared() local
2421 uint_type); in emit_load_shared()
2428 constituents[i] = spirv_builder_emit_load(&ctx->builder, uint_type, member); in emit_load_shared()
2429 offset = emit_binop(ctx, SpvOpIAdd, uint_type, offset, emit_uint_const(ctx, 32, 1)); in emit_load_shared()
2448 SpvId uint_type in emit_store_shared() local
2474 SpvId uint_type = get_uvec_type(ctx, 32, 1); emit_load_push_const() local
2704 SpvId uint_type = get_uvec_type(ctx, 32, 1); emit_get_ssbo_size() local
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dconstants.cpp437 Type* uint_type = context()->get_type_mgr()->GetUIntType(); in GetUIntConst() local
438 const Constant* c = GetConstant(uint_type, {val}); in GetUIntConst()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dconstants.cpp454 Type* uint_type = context()->get_type_mgr()->GetUIntType(); in GetUIntConst() local
455 const Constant* c = GetConstant(uint_type, {val}); in GetUIntConst()

Completed in 41 milliseconds

123