/external/deqp/framework/opengl/ |
H A D | gluVarTypeUtil.cpp | 107 VarType curType = getVarType(type, path); local 113 TCU_CHECK_MSG(curType.isStructType(), "Invalid field selector"); 118 for (; ndx < curType.getStructPtr()->getNumMembers(); ndx++) 120 if (memberName == curType.getStructPtr()->getMember(ndx).getName()) 123 TCU_CHECK_MSG(ndx < curType.getStructPtr()->getNumMembers(), "Member not found in type"); 135 if (curType.isArrayType()) 137 TCU_CHECK(de::inBounds(ndx, 0, curType.getArraySize())); 140 else if (curType.isBasicType() && isDataTypeMatrix(curType.getBasicType())) 142 TCU_CHECK(de::inBounds(ndx, 0, getDataTypeMatrixNumColumns(curType 164 const VarType* curType = &format.type; local [all...] |
H A D | gluVarTypeUtil.hpp | 286 VarType curType = getVarType(*m_type, m_path); local 288 if (IsExpanded()(curType)) 292 if (curType.isBasicType()) 294 DataType basicType = curType.getBasicType(); 303 else if (curType.isArrayType()) 305 else if (curType.isStructType()) 315 const VarType* curType = &type; local 323 if (!curType->isStructType() || !de::inBounds(pathIter->index, 0, curType->getStructPtr()->getNumMembers())) 326 curType 378 const VarType* curType = &type; local [all...] |
H A D | gluVarType.cpp | 360 const VarType* curType = &type; local 364 while (curType->isArrayType()) 366 arraySizes.push_back(curType->getArraySize()); 367 curType = &curType->getElementType(); 370 if (curType->isBasicType()) 372 if (curType->getPrecision() != PRECISION_LAST) 373 str << glu::getPrecisionName(curType->getPrecision()) << " "; 374 str << glu::getDataTypeName(curType->getBasicType()); 376 else if (curType [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
H A D | vktSSBOLayoutCase.cpp | 1015 const VarType curType = glu::getVarType(var.getType(), accessPath.begin(), pathComp); local 1016 const StructType* structPtr = curType.getStructPtr(); 1056 const VarType curType = glu::getVarType(var.getType(), accessPath.begin(), pathComp); local 1057 const StructType* structPtr = curType.getStructPtr(); 1089 const VarType curType = accessPath.getType(); local 1091 if (curType.isArrayType()) 1093 const int arraySize = curType.getArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArraySize(instanceNdx) : curType.getArraySize(); 1098 else if (curType.isStructType()) 1100 const int numMembers = curType 1183 const VarType curType = accessPath.getType(); local 1405 const VarType curType = accessPath.getType(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
H A D | vktUniformBlockCase.cpp | 816 const VarType* curType = &type; local 817 while (curType->isArrayType()) 819 arraySizes.push_back(curType->getArraySize()); 820 curType = &curType->getElementType(); 823 generateLayoutAndPrecisionDeclaration(src, curType->getFlags() & flagsMask, offset); 825 if (curType->isBasicType()) 826 src << glu::getDataTypeName(curType->getBasicType()); 829 DE_ASSERT(curType->isStructType()); 830 generateLocalDeclaration(src, curType 866 const VarType* curType = &uniform.getType(); local [all...] |
/external/deqp/modules/gles31/functional/ |
H A D | es31fSSBOLayoutCase.cpp | 1056 const VarType curType = glu::getVarType(var.getType(), accessPath.begin(), pathComp); local 1057 const StructType* structPtr = curType.getStructPtr(); 1097 const VarType curType = glu::getVarType(var.getType(), accessPath.begin(), pathComp); local 1098 const StructType* structPtr = curType.getStructPtr(); 1129 const VarType curType = accessPath.getType(); local 1131 if (curType.isArrayType()) 1133 const int arraySize = curType.getArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArraySize(instanceNdx) : curType.getArraySize(); 1138 else if (curType.isStructType()) 1140 const int numMembers = curType 1213 const VarType curType = accessPath.getType(); local 1572 const VarType curType = accessPath.getType(); local [all...] |
/external/deqp/modules/glshared/ |
H A D | glsUniformBlockCase.cpp | 865 const VarType* curType = &type; local 866 while (curType->isArrayType()) 868 arraySizes.push_back(curType->getArraySize()); 869 curType = &curType->getElementType(); 872 if (curType->isBasicType()) 874 if ((curType->getFlags() & PRECISION_MASK) != 0) 875 src << PrecisionFlagsFmt(curType->getFlags() & PRECISION_MASK) << " "; 876 src << glu::getDataTypeName(curType->getBasicType()); 880 DE_ASSERT(curType [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
H A D | AMDILPeepholeOptimizer.cpp | 1218 Type *curType; local 1222 curType = *eib; 1223 size += getTypeSize(curType, dereferencePtr);
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fShaderOperatorTests.cpp | 1414 DataType curType = s_selectionInfo[typeNdx].type; local 1416 bool isBoolCase = isDataTypeBoolOrBVec(curType); 1417 bool isFloatCase = isDataTypeFloatOrVec(curType); 1418 bool isIntCase = isDataTypeIntOrIVec(curType); 1419 const char* dataTypeStr = getDataTypeName(curType); 1443 shaderSpec.output = curType; 1451 shaderSpec.inputs[1] = ShaderValue(curType, rangeMin, rangeMax); 1452 shaderSpec.inputs[2] = ShaderValue(curType, rangeMin, rangeMax);
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderOperatorTests.cpp | 2025 const DataType curType = s_selectionInfo[typeNdx].type; local 2027 const bool isBoolCase = isDataTypeBoolOrBVec(curType); 2028 const bool isFloatCase = isDataTypeFloatOrVec(curType); 2029 const bool isIntCase = isDataTypeIntOrIVec(curType); 2030 const bool isUintCase = isDataTypeUintOrUVec(curType); 2031 const char* dataTypeStr = getDataTypeName(curType); 2055 shaderSpec.output = curType; 2065 shaderSpec.inputs[1] = ShaderValue(curType, rangeMin, rangeMax); 2066 shaderSpec.inputs[2] = ShaderValue(curType, rangeMin, rangeMax);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fShaderOperatorTests.cpp | 2066 DataType curType = s_selectionInfo[typeNdx].type; local 2068 bool isBoolCase = isDataTypeBoolOrBVec(curType); 2069 bool isFloatCase = isDataTypeFloatOrVec(curType); 2070 bool isIntCase = isDataTypeIntOrIVec(curType); 2071 bool isUintCase = isDataTypeUintOrUVec(curType); 2072 const char* dataTypeStr = getDataTypeName(curType); 2096 shaderSpec.output = curType; 2106 shaderSpec.inputs[1] = ShaderValue(curType, rangeMin, rangeMax); 2107 shaderSpec.inputs[2] = ShaderValue(curType, rangeMin, rangeMax);
|