Home
last modified time | relevance | path

Searched refs:UInt (Results 1 - 25 of 107) sorted by relevance

12345

/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DSpirvShaderGroup.cpp41 auto mask = As<SIMD::UInt>(state->activeLaneMask()); // Considers helper invocations active. See b/151137030 in BinaryOperation()
43 SIMD::UInt v_uint = (value.UInt(i) & mask) | (As<SIMD::UInt>(identity) & ~mask); in BinaryOperation()
108 dst.move(0, AndAll(predicate.UInt(0) | ~As<SIMD::UInt>(state->activeLaneMask()))); // Considers helper invocations active. See b/151137030 in EmitGroupNonUniform()
115 dst.move(0, OrAll(predicate.UInt(0) & As<SIMD::UInt>(state->activeLaneMask()))); // Considers helper invocations active. See b/151137030 in EmitGroupNonUniform()
122 auto res = SIMD::UInt(0xffffffff); in EmitGroupNonUniform()
123 SIMD::UInt activ in EmitGroupNonUniform()
[all...]
H A DSpirvShaderImage.cpp671 SIMD::UInt width = *Pointer<UInt>(descriptor + OFFSET(vk::StorageImageDescriptor, width)); in GetTexelAddress()
672 SIMD::Int oobMask = As<SIMD::Int>(CmpNLT(As<SIMD::UInt>(u), width)); in GetTexelAddress()
676 SIMD::UInt height = *Pointer<UInt>(descriptor + OFFSET(vk::StorageImageDescriptor, height)); in GetTexelAddress()
677 oobMask |= As<SIMD::Int>(CmpNLT(As<SIMD::UInt>(v), height)); in GetTexelAddress()
682 UInt depth = *Pointer<UInt>(descriptor + OFFSET(vk::StorageImageDescriptor, depth)); in GetTexelAddress()
684 oobMask |= As<SIMD::Int>(CmpNLT(As<SIMD::UInt>(w), SIMD::UInt(dept in GetTexelAddress()
[all...]
H A DSpirvShaderArithmetic.cpp159 dst.move(i, ~src.UInt(i)); in EmitUnaryOp()
163 auto insert = Operand(this, state, insn.word(4)).UInt(i); in EmitUnaryOp()
164 auto offset = Operand(this, state, insn.word(5)).UInt(0); in EmitUnaryOp()
165 auto count = Operand(this, state, insn.word(6)).UInt(0); in EmitUnaryOp()
166 auto one = SIMD::UInt(1); in EmitUnaryOp()
167 auto v = src.UInt(i); in EmitUnaryOp()
175 auto offset = Operand(this, state, insn.word(4)).UInt(0); in EmitUnaryOp()
176 auto count = Operand(this, state, insn.word(5)).UInt(0); in EmitUnaryOp()
177 auto one = SIMD::UInt(1); in EmitUnaryOp()
178 auto v = src.UInt( in EmitUnaryOp()
[all...]
H A DVertexRoutine.hpp43 Pointer<UInt> batch;
71 virtual void program(Pointer<UInt> &batch, UInt &vertexCount) = 0;
75 Vector4f readStream(Pointer<Byte> &buffer, UInt &stride, const Stream &stream, Pointer<UInt> &batch,
76 bool robustBufferAccess, UInt &robustnessSize, Int baseVertex);
77 void readInput(Pointer<UInt> &batch);
80 void writeCache(Pointer<Byte> &vertexCache, Pointer<UInt> &tagCache, Pointer<UInt> &batch);
H A DSpirvShaderDebug.hpp82 case sw::Intermediate::TypeHint::UInt: in fmt()
83 return PrintValue::Ty<sw::SIMD::UInt>::fmt(v.UInt(i)); in fmt()
96 case sw::Intermediate::TypeHint::UInt: in val()
97 return PrintValue::Ty<sw::SIMD::UInt>::val(v.UInt(i)); in val()
136 return (v.intermediate != nullptr) ? PrintValue::Ty<sw::Intermediate>::fmt(*v.intermediate) : PrintValue::Ty<sw::SIMD::UInt>::fmt(v.UInt(0)); in fmt()
141 return (v.intermediate != nullptr) ? PrintValue::Ty<sw::Intermediate>::val(*v.intermediate) : PrintValue::Ty<sw::SIMD::UInt>::val(v.UInt( in val()
[all...]
H A DShaderCore.cpp561 SIMD::UInt halfToFloatBits(SIMD::UInt halfBits) in halfToFloatBits()
563 auto magic = SIMD::UInt(126 << 23); in halfToFloatBits()
565 auto sign16 = halfBits & SIMD::UInt(0x8000); in halfToFloatBits()
566 auto man16 = halfBits & SIMD::UInt(0x03FF); in halfToFloatBits()
567 auto exp16 = halfBits & SIMD::UInt(0x7C00); in halfToFloatBits()
569 auto isDnormOrZero = CmpEQ(exp16, SIMD::UInt(0)); in halfToFloatBits()
570 auto isInfOrNaN = CmpEQ(exp16, SIMD::UInt(0x7C00)); in halfToFloatBits()
574 auto exp32 = (exp16 + SIMD::UInt(0x1C000)) << 13; in halfToFloatBits()
575 auto norm32 = (man32 | exp32) | (isInfOrNaN & SIMD::UInt( in halfToFloatBits()
[all...]
H A DSpirvShaderGLSLstd450.cpp188 dst.move(i, Min(lhs.UInt(i), rhs.UInt(i))); in EmitExtGLSLstd450()
198 dst.move(i, Max(lhs.UInt(i), rhs.UInt(i))); in EmitExtGLSLstd450()
267 dst.move(i, Min(Max(x.UInt(i), minVal.UInt(i)), maxVal.UInt(i))); in EmitExtGLSLstd450()
423 dst.move(0, (SIMD::UInt(Round(Min(Max(val.Float(0), SIMD::Float(0.0f)), SIMD::Float(1.0f)) * SIMD::Float(255.0f)))) | in EmitExtGLSLstd450()
424 ((SIMD::UInt(Round(Min(Max(val.Float(1), SIMD::Float(0.0f)), SIMD::Float(1.0f)) * SIMD::Float(255.0f)))) << 8) | in EmitExtGLSLstd450()
425 ((SIMD::UInt(Roun in EmitExtGLSLstd450()
[all...]
H A DShaderCore.hpp97 using UInt = rr::UInt4;
179 struct Element<UInt>
181 using type = rr::UInt;
223 sw::SIMD::UInt halfToFloatBits(sw::SIMD::UInt halfBits);
224 sw::SIMD::UInt floatToHalfBits(sw::SIMD::UInt floatBits, bool storeInUpperBits);
225 Float4 r11g11b10Unpack(UInt r11g11b10bits);
226 UInt r11g11b10Pack(const Float4 &value);
246 sw::SIMD::UInt CountBit
[all...]
H A DSpirvShader.cpp2221 SIMD::UInt v = SIMD::UInt(0); in EmitVectorExtractDynamic()
2225 v |= CmpEQ(index.UInt(0), SIMD::UInt(i)) & src.UInt(i); in EmitVectorExtractDynamic()
2243 SIMD::UInt mask = CmpEQ(SIMD::UInt(i), index.UInt(0)); in EmitVectorInsertDynamic()
2244 dst.move(i, (src.UInt(i) & ~mask) | (component.UInt( in EmitVectorInsertDynamic()
[all...]
H A DVertexRoutine.cpp46 Pointer<UInt> tagCache = Pointer<UInt>(cache + OFFSET(VertexCache, tag)); in generate()
48 UInt vertexCount = *Pointer<UInt>(task + OFFSET(VertexTask, vertexCount)); in generate()
58 UInt index = *batch; in generate()
59 UInt cacheIndex = index & VertexCache::TAG_MASK; in generate()
71 Pointer<Byte> cacheEntry = vertexCache + cacheIndex * UInt((int)sizeof(Vertex)); in generate()
80 batch = Pointer<UInt>(Pointer<Byte>(batch) + sizeof(uint32_t)); in generate()
88 void VertexRoutine::readInput(Pointer<UInt> &batch) in readInput()
98 UInt strid in readInput()
[all...]
H A DVertexProgram.hpp37 void program(Pointer<UInt> &batch, UInt &vertexCount) override;
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
H A DReactor.cpp346 Byte::Byte(RValue<UInt> cast) in Byte()
1049 UShort::UShort(RValue<UInt> cast) in UShort()
2340 Int::Int(RValue<UInt> rhs)
2355 Int::Int(const UInt &rhs)
2360 Int::Int(const Reference<UInt> &rhs)
2375 RValue<Int> Int::operator=(RValue<UInt> rhs)
2392 RValue<Int> Int::operator=(const UInt &rhs)
2397 RValue<Int> Int::operator=(const Reference<UInt> &rhs)
2569 Long::Long(RValue<UInt> cast)
2636 RValue<UInt> AddAtomi
[all...]
H A DReactor.hpp106 class UInt;
261 struct IntLiteral<UInt>
353 explicit Byte(RValue<UInt> cast);
521 explicit UShort(RValue<UInt> cast);
1148 Int(RValue<UInt> rhs);
1150 Int(const UInt &rhs);
1152 Int(const Reference<UInt> &rhs);
1156 RValue<Int> operator=(RValue<UInt> rhs);
1158 RValue<Int> operator=(const UInt &rhs);
1160 RValue<Int> operator=(const Reference<UInt>
1272 class UInt : public LValue<UInt> global() class
[all...]
H A DEmulatedIntrinsics.hpp52 RValue<UInt> MinAtomic(RValue<Pointer<UInt>> x, RValue<UInt> y, std::memory_order memoryOrder);
54 RValue<UInt> MaxAtomic(RValue<Pointer<UInt>> x, RValue<UInt> y, std::memory_order memoryOrder);
H A DTraits.hpp33 class UInt;
117 using type = UInt;
118 static UInt cast(uint32_t);
289 struct CanBeUsedAsReturn<UInt>
316 struct CanBeUsedAsParameter<UInt>
/third_party/skia/third_party/externals/swiftshader/src/Device/
H A DBlitter.cpp356 c.x = Float(*Pointer<UInt>(element)); in readFloat4()
422 c.x = Float(*Pointer<UInt>(element + 0)); in readFloat4()
423 c.y = Float(*Pointer<UInt>(element + 4)); in readFloat4()
446 c = r11g11b10Unpack(*Pointer<UInt>(element)); in readFloat4()
450 c.x = Float(*Pointer<UInt>(element) & UInt(0x000001FF)); // R's mantissa (bits 0-8) in readFloat4()
451 c.y = Float((*Pointer<UInt>(element) & UInt(0x0003FE00)) >> 9); // G's mantissa (bits 9-17) in readFloat4()
452 c.z = Float((*Pointer<UInt>(element) & UInt( in readFloat4()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
H A DBlitter.cpp260 c.x = Float(*Pointer<UInt>(element)); in read()
360 c.x = Float(*Pointer<UInt>(element + 0)); in read()
361 c.y = Float(*Pointer<UInt>(element + 4)); in read()
385 c.x = Float(Int((*Pointer<UInt>(element) & UInt(0x000003FF)))); in read()
386 c.y = Float(Int((*Pointer<UInt>(element) & UInt(0x000FFC00)) >> 10)); in read()
387 c.z = Float(Int((*Pointer<UInt>(element) & UInt(0x3FF00000)) >> 20)); in read()
388 c.w = Float(Int((*Pointer<UInt>(elemen in read()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Shader/
H A DVertexRoutine.hpp57 virtual void pipeline(UInt &index) = 0;
61 Vector4f readStream(Pointer<Byte> &buffer, UInt &stride, const Stream &stream, const UInt &index);
62 void readInput(UInt &index);
67 void transformFeedback(const Pointer<Byte> &vertex, const UInt &primitiveNumber, const UInt &indexInPrimitive);
H A DVertexRoutine.cpp48 UInt vertexCount = *Pointer<UInt>(task + OFFSET(VertexTask,vertexCount)); in generate()
49 UInt primitiveNumber = *Pointer<UInt>(task + OFFSET(VertexTask, primitiveStart)); in generate()
50 UInt indexInPrimitive = 0; in generate()
56 UInt index = *Pointer<UInt>(batch); in generate()
57 UInt tagIndex = index & 0x0000003C; in generate()
58 UInt indexQ = !textureSampling ? UInt(inde in generate()
[all...]
H A DVertexPipeline.hpp33 void pipeline(UInt &index) override;
39 Vector4f transform(const Register &src, const Pointer<Byte> &matrix, UInt index[4], bool homogenous);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h56 uint64_t UInt; member
84 assert(getKind() == Type::UInt); in getUInt()
85 return UInt; in getUInt()
104 assert(getKind() == Type::UInt); in getUInt()
105 return UInt; in getUInt()
159 case Type::UInt: in operator <()
160 return Lhs.UInt < Rhs.UInt; in operator <()
252 // Whether YAML output uses hex for UInt.
288 /// Create a UInt nod
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/
H A DMsgPackDocumentYAML.cpp51 case msgpack::Type::UInt: in toString()
53 OS << format("%#llx", (unsigned long long)UInt); in toString()
55 OS << UInt; in toString() local
122 if (N.getKind() == msgpack::Type::UInt && getKind() == msgpack::Type::Int) in getYAMLTag()
124 if (N.getKind() == msgpack::Type::Int && getKind() == msgpack::Type::UInt) in getYAMLTag()
132 case msgpack::Type::UInt: in getYAMLTag()
190 case Type::UInt: in mustQuote()
H A DMsgPackReader.cpp59 Obj.Kind = Type::UInt; in read()
62 Obj.Kind = Type::UInt; in read()
65 Obj.Kind = Type::UInt; in read()
68 Obj.Kind = Type::UInt; in read()
154 Obj.Kind = Type::UInt; in read()
155 Obj.UInt = FB; in read()
206 Obj.UInt = static_cast<uint64_t>(endian::read<T, Endianness>(Current)); in readUInt()
/third_party/skia/src/utils/
H A DSkFloatUtils.h19 typedef void UInt; typedef in SkTypeWithSize
25 typedef uint32_t UInt; typedef in SkTypeWithSize
31 typedef uint64_t UInt; typedef in SkTypeWithSize
58 typedef typename SkTypeWithSize<sizeof(RawType) * CHAR_BIT>::UInt Bits;
/third_party/skia/third_party/externals/swiftshader/tests/ReactorUnitTests/
H A DReactorUnitTests.cpp1382 *Pointer<UInt>(out + 0) = UInt(Float(0xF0000000u));
1383 *Pointer<UInt>(out + 4) = UInt(Float(0xC0000000u));
1384 *Pointer<UInt>(out + 8) = UInt(Float(0x00000001u));
1385 *Pointer<UInt>(out + 12) = UInt(Float(0xF000F000u));
2321 std::pair<unsigned int, UInt>,
2378 std::pair<int, UInt>,
[all...]

Completed in 26 milliseconds

12345