Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/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.cpp361 const VarType* curType = &type; in operator <<() local
365 while (curType->isArrayType()) in operator <<()
367 arraySizes.push_back(curType->getArraySize()); in operator <<()
368 curType = &curType->getElementType(); in operator <<()
371 if (curType->isBasicType()) in operator <<()
373 …if (curType->getPrecision() != PRECISION_LAST && !glu::isDataTypeFloat16OrVec(curType->getBasicTyp… in operator <<()
374 str << glu::getPrecisionName(curType->getPrecision()) << " "; in operator <<()
375 str << glu::getDataTypeName(curType->getBasicType()); in operator <<()
377 else if (curType->isStructType()) in operator <<()
379 const StructType* structPtr = curType->getStructPtr(); in operator <<()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory_model/
DvktMemoryModelSharedLayoutCase.cpp151 const VarType curType = glu::getVarType(var.type, accessPath.begin(), pathComp); in getStructMemberName() local
152 const glu::StructType *structPtr = curType.getStructPtr(); in getStructMemberName()
201 const VarType curType = accessPath.getType(); in generateSharedMemoryWrites() local
203 if (curType.isArrayType()) in generateSharedMemoryWrites()
205 const int arraySize = curType.getArraySize(); in generateSharedMemoryWrites()
209 else if (curType.isStructType()) in generateSharedMemoryWrites()
211 const int numMembers = curType.getStructPtr()->getNumMembers(); in generateSharedMemoryWrites()
217 DE_ASSERT(curType.isBasicType()); in generateSharedMemoryWrites()
219 const glu::DataType basicType = curType.getBasicType(); in generateSharedMemoryWrites()
/third_party/flutter/skia/tools/viewer/
DParticlesSlide.cpp113 const SkReflected::Type* curType = e ? e->getType() : nullptr; in visit() local
114 if (ImGui::BeginCombo("Type", curType ? curType->fName : "Null")) { in visit()
115 auto visitType = [baseType, curType, &e](const SkReflected::Type* t) { in visit()
117 ImGui::Selectable(t->fName, curType == t)) { in visit()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp1145 const VarType curType = glu::getVarType(var.getType(), accessPath.begin(), pathComp); in getAPIName() local
1146 const StructType* structPtr = curType.getStructPtr(); in getAPIName()
1188 const VarType curType = glu::getVarType(var.getType(), accessPath.begin(), pathComp); in getShaderName() local
1189 const StructType* structPtr = curType.getStructPtr(); in getShaderName()
1221 const VarType curType = accessPath.getType(); in generateCompareSrc() local
1223 if (curType.isArrayType()) in generateCompareSrc()
1225 …const int arraySize = curType.getArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArray… in generateCompareSrc()
1230 else if (curType.isStructType()) in generateCompareSrc()
1232 const int numMembers = curType.getStructPtr()->getNumMembers(); in generateCompareSrc()
1239 DE_ASSERT(curType.isBasicType()); in generateCompareSrc()
[all …]
/third_party/skia/tools/viewer/
DParticlesSlide.cpp116 const SkReflected::Type* curType = e ? e->getType() : nullptr; in visit() local
117 if (ImGui::BeginCombo("Type", curType ? curType->fName : "Null")) { in visit()
118 auto visitType = [baseType, curType, &e, this](const SkReflected::Type* t) { in visit()
120 ImGui::Selectable(t->fName, curType == t)) { in visit()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp1051 const VarType curType = glu::getVarType(var.getType(), accessPath.begin(), pathComp); in getAPIName() local
1052 const StructType* structPtr = curType.getStructPtr(); in getAPIName()
1092 const VarType curType = glu::getVarType(var.getType(), accessPath.begin(), pathComp); in getShaderName() local
1093 const StructType* structPtr = curType.getStructPtr(); in getShaderName()
1124 const VarType curType = accessPath.getType(); in generateCompareSrc() local
1126 if (curType.isArrayType()) in generateCompareSrc()
1128 …const int arraySize = curType.getArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArray… in generateCompareSrc()
1133 else if (curType.isStructType()) in generateCompareSrc()
1135 const int numMembers = curType.getStructPtr()->getNumMembers(); in generateCompareSrc()
1142 DE_ASSERT(curType.isBasicType()); in generateCompareSrc()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackFuzzLayoutCase.cpp1035 const VarType* curType = &type; in generateDeclaration() local
1036 while (curType->isArrayType()) in generateDeclaration()
1038 arraySizes.push_back(curType->getArraySize()); in generateDeclaration()
1039 curType = &curType->getElementType(); in generateDeclaration()
1042 …generateLayoutAndPrecisionDeclaration(src, curType->getFlags() & flagsMask, buffer, stride, offset… in generateDeclaration()
1044 if (curType->isBasicType()) in generateDeclaration()
1045 src << glu::getDataTypeName(curType->getBasicType()); in generateDeclaration()
1048 DE_ASSERT(curType->isStructType()); in generateDeclaration()
1049 generateLocalDeclaration(src, curType->getStruct(), indentLevel+1); in generateDeclaration()
1085 const VarType* curType = &member.getType(); in getBlockMemberOffset() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp1007 const VarType* curType = &type; in generateDeclaration() local
1008 while (curType->isArrayType()) in generateDeclaration()
1010 arraySizes.push_back(curType->getArraySize()); in generateDeclaration()
1011 curType = &curType->getElementType(); in generateDeclaration()
1014 generateLayoutAndPrecisionDeclaration(src, curType->getFlags() & flagsMask, offset); in generateDeclaration()
1016 if (curType->isBasicType()) in generateDeclaration()
1017 src << glu::getDataTypeName(curType->getBasicType()); in generateDeclaration()
1020 DE_ASSERT(curType->isStructType()); in generateDeclaration()
1021 generateLocalDeclaration(src, curType->getStruct(), indentLevel+1); in generateDeclaration()
1057 const VarType* curType = &uniform.getType(); in getBlockMemberOffset() local
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsUniformBlockCase.cpp866 const VarType* curType = &type; in generateDeclaration() local
867 while (curType->isArrayType()) in generateDeclaration()
869 arraySizes.push_back(curType->getArraySize()); in generateDeclaration()
870 curType = &curType->getElementType(); in generateDeclaration()
873 if (curType->isBasicType()) in generateDeclaration()
875 if ((curType->getFlags() & LAYOUT_MASK) != 0) in generateDeclaration()
876 src << "layout(" << LayoutFlagsFmt(curType->getFlags() & LAYOUT_MASK) << ") "; in generateDeclaration()
877 if ((curType->getFlags() & PRECISION_MASK) != 0) in generateDeclaration()
878 src << PrecisionFlagsFmt(curType->getFlags() & PRECISION_MASK) << " "; in generateDeclaration()
879 src << glu::getDataTypeName(curType->getBasicType()); in generateDeclaration()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcUniformBlockCase.cpp777 const VarType* curType = &type; in generateDeclaration() local
778 while (curType->isArrayType()) in generateDeclaration()
780 arraySizes.push_back(curType->getArraySize()); in generateDeclaration()
781 curType = &curType->getElementType(); in generateDeclaration()
784 if (curType->isBasicType()) in generateDeclaration()
786 if ((curType->getFlags() & PRECISION_MASK) != 0) in generateDeclaration()
787 src << PrecisionFlagsFmt(curType->getFlags() & PRECISION_MASK) << " "; in generateDeclaration()
788 src << glu::getDataTypeName(curType->getBasicType()); in generateDeclaration()
792 DE_ASSERT(curType->isStructType()); in generateDeclaration()
793 generateLocalDeclaration(src, curType->getStruct(), indentLevel + 1); in generateDeclaration()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fShaderOperatorTests.cpp1414 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);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderOperatorTests.cpp1891 const DataType curType = s_selectionInfo[typeNdx].type; in init() local
1893 const bool isBoolCase = isDataTypeBoolOrBVec(curType); in init()
1894 const bool isFloatCase = isDataTypeFloatOrVec(curType); in init()
1895 const bool isIntCase = isDataTypeIntOrIVec(curType); in init()
1896 const bool isUintCase = isDataTypeUintOrUVec(curType); in init()
1897 const char* dataTypeStr = getDataTypeName(curType); in init()
1921 shaderSpec.output = curType; in init()
1931 shaderSpec.inputs[1] = ShaderValue(curType, rangeMin, rangeMax); in init()
1932 shaderSpec.inputs[2] = ShaderValue(curType, rangeMin, rangeMax); in init()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderOperatorTests.cpp2290 DataType curType = s_selectionInfo[typeNdx].type; local
2292 bool isBoolCase = isDataTypeBoolOrBVec(curType);
2293 bool isFloatCase = isDataTypeFloatOrVec(curType);
2294 bool isIntCase = isDataTypeIntOrIVec(curType);
2295 bool isUintCase = isDataTypeUintOrUVec(curType);
2296 const char* dataTypeStr = getDataTypeName(curType);
2320 shaderSpec.output = curType;
2330 shaderSpec.inputs[1] = ShaderValue(curType, rangeMin, rangeMax);
2331 shaderSpec.inputs[2] = ShaderValue(curType, rangeMin, rangeMax);