Home
last modified time | relevance | path

Searched refs:TSpan (Results 1 – 17 of 17) sorted by relevance

/external/angle/src/compiler/translator/
DCommon.h117 class TSpan
122 constexpr TSpan() {} in TSpan() function
123 constexpr TSpan(T *ptr, size_type size) : mData(ptr), mSize(size) {} in TSpan() function
125 constexpr TSpan(const TSpan &that) : mData(that.mData), mSize(that.mSize) {} in TSpan() function
126 constexpr TSpan &operator=(const TSpan &that)
136 TSpan(const TVector<S> &vec) : mData(vec.data()), mSize(vec.size()) in TSpan() function
139 TSpan &operator=(const TVector<S> &vec)
146 constexpr bool operator==(const TSpan &that) const
168 constexpr bool operator!=(const TSpan &that) const { return !(*this == that); }
190 constexpr TSpan first(size_type count) const in first()
[all …]
DTypes.h115 const TSpan<const unsigned int> arraySizes, in TType()
203 const TSpan<const unsigned int> &getArraySizes() const { return mArraySizes; } in getArraySizes()
214 void makeArrays(const TSpan<const unsigned int> &sizes);
221 void sizeUnsizedArrays(const TSpan<const unsigned int> &newArraySizes);
365 constexpr void onArrayDimensionsChange(const TSpan<const unsigned int> &sizes) in onArrayDimensionsChange()
384 TSpan<const unsigned int> mArraySizes;
Dspan_unittest.cpp18 using Span = sh::TSpan<const unsigned int>;
54 sh::TSpan<unsigned int> writableSpan(storage, kSpanDataSize); in TEST()
DTypes.cpp171 : TType(t, p, q, ps, ss, TSpan<const unsigned int>(), nullptr) in TType()
599 void TType::sizeUnsizedArrays(const TSpan<const unsigned int> &newArraySizes) in sizeUnsizedArrays()
666 void TType::makeArrays(const TSpan<const unsigned int> &sizes) in makeArrays()
705 onArrayDimensionsChange(TSpan<const unsigned int>()); in toArrayBaseType()
DStaticType.h138 TSpan<const unsigned int>(),
155 TSpan<const unsigned int>(arraySizes, numArraySizes),
DValidateTypeSizeLimitations.cpp157 const TSpan<const unsigned int> &arraySizes = type.getArraySizes(); in setFieldOrVariableProperties()
DShaderStorageBlockOutputHLSL.cpp115 const TSpan<const unsigned int> &typeArraySizes = type.getArraySizes(); in GetBlockMemberInfoByType()
608 const TSpan<const unsigned int> &arraySizes = type.getArraySizes(); in writeEOpIndexDirectOrIndirectOutput()
DBuildSPIRV.h91 TSpan<const unsigned int> arraySizes;
Dutil.cpp436 const TSpan<const unsigned int> &arraySizes = type.getArraySizes(); in ArrayString()
DBuildSPIRV.cpp52 uint32_t GetTotalArrayElements(const TSpan<const unsigned int> &arraySizes) in GetTotalArrayElements()
119 const TSpan<const unsigned int> arraySizes, in ToShaderVariable()
DCollectVariables.cpp812 const TSpan<const unsigned int> &arraySizes = type.getArraySizes(); in setFieldOrVariableProperties()
DParseContext.cpp1223 const TSpan<const unsigned int> &arraySizes = type->getArraySizes(); in checkCanBeDeclaredWithoutInitializer()
4081 arrayType->sizeUnsizedArrays(TSpan<const unsigned int>()); in checkIsNotUnsizedArray()
4173 type.sizeUnsizedArrays(TSpan<const unsigned int>()); in addConstructor()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DAstHelpers.h39 const TSpan<const unsigned int> *arraySizes = nullptr);
DAstHelpers.cpp51 const TSpan<const unsigned int> *arraySizes) in CreateInstanceVariable()
/external/angle/src/compiler/translator/tree_ops/vulkan/
DRewriteArrayOfArrayOfOpaqueUniforms.cpp282 const TSpan<const unsigned int> &arraySizes = type.getArraySizes(); in visitDeclaration()
/external/angle/src/compiler/translator/tree_ops/
DRewriteRowMajorMatrices.cpp228 const TSpan<const unsigned int> &arraySizes = mBaseExpressionType.getArraySizes(); in getNextElement()
256 const TSpan<const unsigned int> &baseTypeArraySizes = mBaseExpressionType.getArraySizes(); in constructReadTransformExpression()
290 void incrementIndices(const TSpan<const unsigned int> &arraySizes) in incrementIndices()
DRewriteStructSamplers.cpp631 const TSpan<const unsigned int> &arraySizes = arrayType.getArraySizes(); in enterArray()