Home
last modified time | relevance | path

Searched refs:curType (Results 1 – 10 of 10) sorted by relevance

/external/deqp/framework/opengl/
DgluVarTypeUtil.cpp107 VarType curType = getVarType(type, path); in parseTypePath() local
113 TCU_CHECK_MSG(curType.isStructType(), "Invalid field selector"); in parseTypePath()
118 for (; ndx < curType.getStructPtr()->getNumMembers(); ndx++) in parseTypePath()
120 if (memberName == curType.getStructPtr()->getMember(ndx).getName()) in parseTypePath()
123 TCU_CHECK_MSG(ndx < curType.getStructPtr()->getNumMembers(), "Member not found in type"); in parseTypePath()
135 if (curType.isArrayType()) in parseTypePath()
137 TCU_CHECK(de::inBounds(ndx, 0, curType.getArraySize())); in parseTypePath()
140 else if (curType.isBasicType() && isDataTypeMatrix(curType.getBasicType())) in parseTypePath()
142 TCU_CHECK(de::inBounds(ndx, 0, getDataTypeMatrixNumColumns(curType.getBasicType()))); in parseTypePath()
145 else if (curType.isBasicType() && isDataTypeVector(curType.getBasicType())) in parseTypePath()
[all …]
DgluVarTypeUtil.hpp286 VarType curType = getVarType(*m_type, m_path); in findNext() local
288 if (IsExpanded()(curType)) in findNext()
292 if (curType.isBasicType()) in findNext()
294 DataType basicType = curType.getBasicType(); in findNext()
303 else if (curType.isArrayType()) in findNext()
305 else if (curType.isStructType()) in findNext()
315 const VarType* curType = &type; in isValidTypePath() local
323 …if (!curType->isStructType() || !de::inBounds(pathIter->index, 0, curType->getStructPtr()->getNumM… in isValidTypePath()
326 curType = &curType->getStructPtr()->getMember(pathIter->index).getType(); in isValidTypePath()
330 …if (!curType->isArrayType() || (curType->getArraySize() != VarType::UNSIZED_ARRAY && !de::inBounds… in isValidTypePath()
[all …]
DgluVarType.cpp360 const VarType* curType = &type; in operator <<() local
364 while (curType->isArrayType()) in operator <<()
366 arraySizes.push_back(curType->getArraySize()); in operator <<()
367 curType = &curType->getElementType(); in operator <<()
370 if (curType->isBasicType()) in operator <<()
372 if (curType->getPrecision() != PRECISION_LAST) in operator <<()
373 str << glu::getPrecisionName(curType->getPrecision()) << " "; in operator <<()
374 str << glu::getDataTypeName(curType->getBasicType()); in operator <<()
376 else if (curType->isStructType()) in operator <<()
378 const StructType* structPtr = curType->getStructPtr(); in operator <<()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp1083 const VarType curType = glu::getVarType(var.getType(), accessPath.begin(), pathComp); in getAPIName() local
1084 const StructType* structPtr = curType.getStructPtr(); in getAPIName()
1124 const VarType curType = glu::getVarType(var.getType(), accessPath.begin(), pathComp); in getShaderName() local
1125 const StructType* structPtr = curType.getStructPtr(); in getShaderName()
1157 const VarType curType = accessPath.getType(); in generateCompareSrc() local
1159 if (curType.isArrayType()) in generateCompareSrc()
1161 …const int arraySize = curType.getArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArray… in generateCompareSrc()
1166 else if (curType.isStructType()) in generateCompareSrc()
1168 const int numMembers = curType.getStructPtr()->getNumMembers(); in generateCompareSrc()
1175 DE_ASSERT(curType.isBasicType()); in generateCompareSrc()
[all …]
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp1056 const VarType curType = glu::getVarType(var.getType(), accessPath.begin(), pathComp); in getAPIName() local
1057 const StructType* structPtr = curType.getStructPtr(); in getAPIName()
1097 const VarType curType = glu::getVarType(var.getType(), accessPath.begin(), pathComp); in getShaderName() local
1098 const StructType* structPtr = curType.getStructPtr(); in getShaderName()
1129 const VarType curType = accessPath.getType(); in generateCompareSrc() local
1131 if (curType.isArrayType()) in generateCompareSrc()
1133 …const int arraySize = curType.getArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArray… in generateCompareSrc()
1138 else if (curType.isStructType()) in generateCompareSrc()
1140 const int numMembers = curType.getStructPtr()->getNumMembers(); in generateCompareSrc()
1147 DE_ASSERT(curType.isBasicType()); in generateCompareSrc()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp816 const VarType* curType = &type; in generateDeclaration() local
817 while (curType->isArrayType()) in generateDeclaration()
819 arraySizes.push_back(curType->getArraySize()); in generateDeclaration()
820 curType = &curType->getElementType(); in generateDeclaration()
823 generateLayoutAndPrecisionDeclaration(src, curType->getFlags() & flagsMask, offset); in generateDeclaration()
825 if (curType->isBasicType()) in generateDeclaration()
826 src << glu::getDataTypeName(curType->getBasicType()); in generateDeclaration()
829 DE_ASSERT(curType->isStructType()); in generateDeclaration()
830 generateLocalDeclaration(src, curType->getStruct(), indentLevel+1); in generateDeclaration()
866 const VarType* curType = &uniform.getType(); in getBlockMemberOffset() local
[all …]
/external/deqp/modules/glshared/
DglsUniformBlockCase.cpp865 const VarType* curType = &type; in generateDeclaration() local
866 while (curType->isArrayType()) in generateDeclaration()
868 arraySizes.push_back(curType->getArraySize()); in generateDeclaration()
869 curType = &curType->getElementType(); in generateDeclaration()
872 if (curType->isBasicType()) in generateDeclaration()
874 if ((curType->getFlags() & PRECISION_MASK) != 0) in generateDeclaration()
875 src << PrecisionFlagsFmt(curType->getFlags() & PRECISION_MASK) << " "; in generateDeclaration()
876 src << glu::getDataTypeName(curType->getBasicType()); in generateDeclaration()
880 DE_ASSERT(curType->isStructType()); in generateDeclaration()
881 generateLocalDeclaration(src, curType->getStruct(), indentLevel+1); in generateDeclaration()
/external/deqp/modules/gles2/functional/
Des2fShaderOperatorTests.cpp1414 DataType curType = s_selectionInfo[typeNdx].type; in init() local
1416 bool isBoolCase = isDataTypeBoolOrBVec(curType); in init()
1417 bool isFloatCase = isDataTypeFloatOrVec(curType); in init()
1418 bool isIntCase = isDataTypeIntOrIVec(curType); in init()
1419 const char* dataTypeStr = getDataTypeName(curType); in init()
1443 shaderSpec.output = curType; in init()
1451 shaderSpec.inputs[1] = ShaderValue(curType, rangeMin, rangeMax); in init()
1452 shaderSpec.inputs[2] = ShaderValue(curType, rangeMin, rangeMax); in init()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderOperatorTests.cpp2025 const DataType curType = s_selectionInfo[typeNdx].type; in init() local
2027 const bool isBoolCase = isDataTypeBoolOrBVec(curType); in init()
2028 const bool isFloatCase = isDataTypeFloatOrVec(curType); in init()
2029 const bool isIntCase = isDataTypeIntOrIVec(curType); in init()
2030 const bool isUintCase = isDataTypeUintOrUVec(curType); in init()
2031 const char* dataTypeStr = getDataTypeName(curType); in init()
2055 shaderSpec.output = curType; in init()
2065 shaderSpec.inputs[1] = ShaderValue(curType, rangeMin, rangeMax); in init()
2066 shaderSpec.inputs[2] = ShaderValue(curType, rangeMin, rangeMax); in init()
/external/deqp/modules/gles3/functional/
Des3fShaderOperatorTests.cpp2066 DataType curType = s_selectionInfo[typeNdx].type; in init() local
2068 bool isBoolCase = isDataTypeBoolOrBVec(curType); in init()
2069 bool isFloatCase = isDataTypeFloatOrVec(curType); in init()
2070 bool isIntCase = isDataTypeIntOrIVec(curType); in init()
2071 bool isUintCase = isDataTypeUintOrUVec(curType); in init()
2072 const char* dataTypeStr = getDataTypeName(curType); in init()
2096 shaderSpec.output = curType; in init()
2106 shaderSpec.inputs[1] = ShaderValue(curType, rangeMin, rangeMax); in init()
2107 shaderSpec.inputs[2] = ShaderValue(curType, rangeMin, rangeMax); in init()