/external/deqp/framework/opengl/ |
D | gluVarTypeUtil.cpp | 107 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 …]
|
D | gluVarTypeUtil.hpp | 286 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 …]
|
D | gluVarType.cpp | 360 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/ |
D | vktSSBOLayoutCase.cpp | 971 const VarType curType = glu::getVarType(var.getType(), accessPath.begin(), pathComp); in getAPIName() local 972 const StructType* structPtr = curType.getStructPtr(); in getAPIName() 1012 const VarType curType = glu::getVarType(var.getType(), accessPath.begin(), pathComp); in getShaderName() local 1013 const StructType* structPtr = curType.getStructPtr(); in getShaderName() 1044 const VarType curType = accessPath.getType(); in generateCompareSrc() local 1046 if (curType.isArrayType()) in generateCompareSrc() 1048 …const int arraySize = curType.getArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArray… in generateCompareSrc() 1053 else if (curType.isStructType()) in generateCompareSrc() 1055 const int numMembers = curType.getStructPtr()->getNumMembers(); in generateCompareSrc() 1062 DE_ASSERT(curType.isBasicType()); in generateCompareSrc() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fSSBOLayoutCase.cpp | 1056 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/ |
D | vktUniformBlockCase.cpp | 809 const VarType* curType = &type; in generateDeclaration() local 810 while (curType->isArrayType()) in generateDeclaration() 812 arraySizes.push_back(curType->getArraySize()); in generateDeclaration() 813 curType = &curType->getElementType(); in generateDeclaration() 816 if (curType->isBasicType()) in generateDeclaration() 818 if ((curType->getFlags() & PRECISION_MASK) != 0) in generateDeclaration() 819 src << PrecisionFlagsFmt(curType->getFlags() & PRECISION_MASK) << " "; in generateDeclaration() 820 src << glu::getDataTypeName(curType->getBasicType()); in generateDeclaration() 824 DE_ASSERT(curType->isStructType()); in generateDeclaration() 825 generateLocalDeclaration(src, curType->getStruct(), indentLevel+1); in generateDeclaration()
|
/external/deqp/modules/glshared/ |
D | glsUniformBlockCase.cpp | 865 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/ |
D | es2fShaderOperatorTests.cpp | 1414 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/mesa3d/src/gallium/drivers/radeon/ |
D | AMDILPeepholeOptimizer.cpp | 1218 Type *curType; in getTypeSize() local 1222 curType = *eib; in getTypeSize() 1223 size += getTypeSize(curType, dereferencePtr); in getTypeSize()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderOperatorTests.cpp | 2025 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/ |
D | es3fShaderOperatorTests.cpp | 2066 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()
|