/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/ |
D | hex_float.h | 68 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/spirv-tools/source/util/ |
D | hex_float.h | 68 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/ |
D | hex_float.h | 68 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/glslang/SPIRV/ |
D | hex_float.h | 72 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/ |
D | fuzzerutil_test.cpp | 1609 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/ |
D | fuzzerutil_test.cpp | 1609 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/ |
D | fuzzerutil_test.cpp | 1609 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/ |
D | ir_expression_operation.py | 82 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 …]
|
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 | ir_validate.cpp | 529 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()
|
D | builtin_functions.cpp | 1489 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 …]
|
D | lower_vector_insert.cpp | 131 expr->operands[2]->type == glsl_type::uint_type); in handle_rvalue()
|
D | lower_cs_derived.cpp | 189 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/ |
D | generate_real.h | 72 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/mesa3d/src/intel/compiler/ |
D | brw_vec4_gs_visitor.cpp | 173 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 …]
|
D | gfx6_gs_visitor.cpp | 66 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()
|
D | test_fs_cmod_propagation.cpp | 225 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 …]
|
D | brw_vec4_visitor.cpp | 745 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()
|
D | brw_vec4_nir.cpp | 630 surf_index = src_reg(this, glsl_type::uint_type); in nir_emit_intrinsic() 662 offset_reg = src_reg(this, glsl_type::uint_type); in nir_emit_intrinsic() 1598 dst_reg tmp1 = dst_reg(this, glsl_type::uint_type); in nir_emit_alu() 1603 dst_reg tmp2 = dst_reg(this, glsl_type::uint_type); in nir_emit_alu() 2045 src_reg temp(this, glsl_type::uint_type); in nir_emit_texture() 2054 src_reg temp(this, glsl_type::uint_type); in nir_emit_texture() 2216 emit(MOV(dst_reg(MRF, param_base + 1, glsl_type::uint_type, WRITEMASK_Y), in nir_emit_texture()
|
/third_party/mesa3d/src/broadcom/compiler/ |
D | v3d_nir_lower_io.c | 652 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/ |
D | spirv_hlsl.cpp | 3497 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 = to_unsigned_basetype(integer_width); in emit_instruction() local 5044 auto type = opcode == OpUGreaterThan ? uint_type : int_type; in emit_instruction() [all …]
|
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/ |
D | nir_to_spirv.c | 305 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 = get_uvec_type(ctx, 32, 1); in emit_store_shared() local [all …]
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | constants.cpp | 437 Type* uint_type = context()->get_type_mgr()->GetUIntType(); in GetUIntConst() local 438 const Constant* c = GetConstant(uint_type, {val}); in GetUIntConst()
|
/third_party/spirv-tools/source/opt/ |
D | constants.cpp | 455 Type* uint_type = context()->get_type_mgr()->GetUIntType(); in GetUIntConst() local 456 const Constant* c = GetConstant(uint_type, {val}); in GetUIntConst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | constants.cpp | 454 Type* uint_type = context()->get_type_mgr()->GetUIntType(); in GetUIntConst() local 455 const Constant* c = GetConstant(uint_type, {val}); in GetUIntConst()
|