Home
last modified time | relevance | path

Searched refs:txType (Results 1 – 2 of 2) sorted by relevance

/external/deqp-deps/glslang/hlsl/
DhlslGrammar.cpp1178 TType txType(EbtFloat, EvqUniform, 4); // default type is float4 in acceptSamplerTypeDX9() local
1198 sampler.set(txType.getBasicType(), dim, false, isShadow, false); in acceptSamplerTypeDX9()
1200 if (!parseContext.setTextureReturnType(sampler, txType, token.loc)) in acceptSamplerTypeDX9()
1302 TType txType(EbtFloat, EvqUniform, 4); // default type is float4 in acceptTextureType() local
1308 if (! acceptType(txType)) { in acceptTextureType()
1313 const TBasicType basicRetType = txType.getBasicType() ; in acceptTextureType()
1327 if (dim == EsdBuffer && txType.isMatrix()) { in acceptTextureType()
1328 if ((txType.getMatrixCols() * txType.getMatrixRows()) > 4) { in acceptTextureType()
1338 if (!txType.isScalar() && !txType.isVector() && !txType.isStruct()) { in acceptTextureType()
1374 format = parseContext.getLayoutFromTxType(token.loc, txType); in acceptTextureType()
[all …]
DhlslParseHelper.cpp185 TLayoutFormat HlslParseContext::getLayoutFromTxType(const TSourceLoc& loc, const TType& txType) in getLayoutFromTxType() argument
187 if (txType.isStruct()) { in getLayoutFromTxType()
193 const int components = txType.getVectorSize(); in getLayoutFromTxType()
194 const TBasicType txBasicType = txType.getBasicType(); in getLayoutFromTxType()