Home
last modified time | relevance | path

Searched refs:structType (Results 1 – 25 of 55) sorted by relevance

123

/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkDeviceFeatures.cpp125 VkStructureType structType = p->getFeatureDesc().sType; in DeviceFeatures() local
128 if (structType == VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_FEATURES_EXT) in DeviceFeatures()
130 else if (structType == VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES_EXT) in DeviceFeatures()
133 else if (structType == VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_FEATURES_KHR) in DeviceFeatures()
135 else if (structType == VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV) in DeviceFeatures()
137 else if (structType == VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT) in DeviceFeatures()
139 …else if (structType == VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PAGEABLE_DEVICE_LOCAL_MEMORY_FEATURES_EXT) in DeviceFeatures()
141 else if (structType == VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MUTABLE_DESCRIPTOR_TYPE_FEATURES_EXT) in DeviceFeatures()
DvkQueryUtil.hpp174 void addToChainVulkanStructure (void*** chainPNextPtr, StructType& structType) in addToChainVulkanStructure() argument
178 (**chainPNextPtr) = &structType; in addToChainVulkanStructure()
180 (*chainPNextPtr) = &structType.pNext; in addToChainVulkanStructure()
184 void addToChainVulkanStructure (const void*** chainPNextPtr, StructType& structType) in addToChainVulkanStructure() argument
188 (**chainPNextPtr) = &structType; in addToChainVulkanStructure()
190 (*chainPNextPtr) = &structType.pNext; in addToChainVulkanStructure()
/third_party/flutter/skia/src/sksl/ir/
DSkSLInterfaceBlock.h51 const Type* structType = &fVariable.fType; in description() local
52 while (structType->kind() == Type::kArray_Kind) { in description()
53 structType = &structType->componentType(); in description()
55 for (const auto& f : structType->fields()) { in description()
/third_party/skia/src/sksl/ir/
DSkSLInterfaceBlock.h72 const Type* structType = &this->variable().type(); in description() local
73 if (structType->isArray()) { in description()
74 structType = &structType->componentType(); in description()
76 for (const auto& f : structType->fields()) { in description()
/third_party/glslang/Test/baseResults/
Dspv.atomiAddEXT.task.out18 Name 20 "structType"
19 MemberName 20(structType) 0 "y"
32 MemberDecorate 20(structType) 0 Offset 0
52 20(structType): TypeStruct 19
53 21(t2): TypeStruct 20(structType)
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRewriteStructSamplers.cpp26 TType *structType = new TType(structVar, false); in GetStructSamplerParameterType() local
30 structType->makeArrays(*param.getType().getArraySizes()); in GetStructSamplerParameterType()
33 ASSERT(!structType->isStructureContainingSamplers()); in GetStructSamplerParameterType()
35 return structType; in GetStructSamplerParameterType()
504 const TType &structType) in traverseStructContainingSamplers() argument
507 const TStructure *structure = structType.getStruct(); in traverseStructContainingSamplers()
512 if (traverseSamplerInStruct(baseName, structType, field)) in traverseStructContainingSamplers()
607 TType *structType = GetStructSamplerParameterType(mSymbolTable, *param); in visitStructParam() local
609 new TVariable(mSymbolTable, param->name(), structType, param->symbolType()); in visitStructParam()
/third_party/glslang/Test/
DatomicAdd.comp4 struct structType{
9 structType f;
Dspv.atomiAddEXT.task6 struct structType{
11 structType f;
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fUniformApiTests.cpp163 const StructType& structType = *type.getStructPtr(); in typeContainsMatchingBasicType() local
164 for (int i = 0; i < structType.getNumMembers(); i++) in typeContainsMatchingBasicType()
165 if (typeContainsMatchingBasicType(structType.getMember(i).getType(), predicate)) in typeContainsMatchingBasicType()
184 const StructType& structType = *type.getStructPtr(); in getDistinctSamplerTypes() local
185 for (int i = 0; i < structType.getNumMembers(); i++) in getDistinctSamplerTypes()
186 getDistinctSamplerTypes(dst, structType.getMember(i).getType()); in getDistinctSamplerTypes()
199 const StructType& structType = *type.getStructPtr(); in getNumSamplersInType() local
201 for (int i = 0; i < structType.getNumMembers(); i++) in getNumSamplersInType()
202 sum += getNumSamplersInType(structType.getMember(i).getType()); in getNumSamplersInType()
215 …StructType* const structType = new StructType(("structType" + de::toString(curStructIdx++)).c_str(… in generateRandomType() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationUserDefinedIO.cpp138 const glu::StructType& structType = *rootType.getStructPtr(); in glslTraverseBasicTypes() local
139 const int numMembers = structType.getNumMembers(); in glslTraverseBasicTypes()
144 const glu::StructMember& member = structType.getMember(membNdx); in glslTraverseBasicTypes()
232 const glu::StructType& structType = *type.getStructPtr(); in numBasicSubobjects() local
234 for (int i = 0; i < structType.getNumMembers(); ++i) in numBasicSubobjects()
235 result += numBasicSubobjects(structType.getMember(i).getType()); in numBasicSubobjects()
497 glu::StructType& structType = m_structTypes.back(); in UserDefinedIOTest() local
498 const glu::VarType structVarType (&structType); in UserDefinedIOTest()
501 structType.addMember("x", glu::VarType(glu::TYPE_INT, glu::PRECISION_HIGHP)); in UserDefinedIOTest()
502 structType.addMember("y", glu::VarType(glu::TYPE_FLOAT_VEC4, glu::PRECISION_HIGHP)); in UserDefinedIOTest()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
DvktTessellationUserDefinedIO.cpp138 const glu::StructType& structType = *rootType.getStructPtr(); in glslTraverseBasicTypes() local
139 const int numMembers = structType.getNumMembers(); in glslTraverseBasicTypes()
144 const glu::StructMember& member = structType.getMember(membNdx); in glslTraverseBasicTypes()
232 const glu::StructType& structType = *type.getStructPtr(); in numBasicSubobjects() local
234 for (int i = 0; i < structType.getNumMembers(); ++i) in numBasicSubobjects()
235 result += numBasicSubobjects(structType.getMember(i).getType()); in numBasicSubobjects()
497 glu::StructType& structType = m_structTypes.back(); in UserDefinedIOTest() local
498 const glu::VarType structVarType (&structType); in UserDefinedIOTest()
501 structType.addMember("x", glu::VarType(glu::TYPE_INT, glu::PRECISION_HIGHP)); in UserDefinedIOTest()
502 structType.addMember("y", glu::VarType(glu::TYPE_FLOAT_VEC4, glu::PRECISION_HIGHP)); in UserDefinedIOTest()
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fProgramUniformTests.cpp227 const StructType& structType = *type.getStructPtr(); in typeContainsMatchingBasicType() local
228 for (int i = 0; i < structType.getNumMembers(); i++) in typeContainsMatchingBasicType()
229 if (typeContainsMatchingBasicType(structType.getMember(i).getType(), predicate)) in typeContainsMatchingBasicType()
248 const StructType& structType = *type.getStructPtr(); in getDistinctSamplerTypes() local
249 for (int i = 0; i < structType.getNumMembers(); i++) in getDistinctSamplerTypes()
250 getDistinctSamplerTypes(dst, structType.getMember(i).getType()); in getDistinctSamplerTypes()
263 const StructType& structType = *type.getStructPtr(); in getNumSamplersInType() local
265 for (int i = 0; i < structType.getNumMembers(); i++) in getNumSamplersInType()
266 sum += getNumSamplersInType(structType.getMember(i).getType()); in getNumSamplersInType()
397 StructType* const structType = new StructType((string("structType") + nameSuffix).c_str()); in basicStruct() local
[all …]
/third_party/vk-gl-cts/framework/opengl/
DgluVarType.hpp304 …DeclareStructType (const StructType& structType_, int indentLevel_) : structType(structType_), ind… in DeclareStructType()
306 StructType structType; member
328 …tType declare (const StructType& structType, int indentLevel = 0) { return decl::DeclareStr… in declare() argument
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fUniformApiTests.cpp223 const StructType& structType = *type.getStructPtr(); in typeContainsMatchingBasicType() local
224 for (int i = 0; i < structType.getNumMembers(); i++) in typeContainsMatchingBasicType()
225 if (typeContainsMatchingBasicType(structType.getMember(i).getType(), predicate)) in typeContainsMatchingBasicType()
244 const StructType& structType = *type.getStructPtr(); in getDistinctSamplerTypes() local
245 for (int i = 0; i < structType.getNumMembers(); i++) in getDistinctSamplerTypes()
246 getDistinctSamplerTypes(dst, structType.getMember(i).getType()); in getDistinctSamplerTypes()
259 const StructType& structType = *type.getStructPtr(); in getNumSamplersInType() local
261 for (int i = 0; i < structType.getNumMembers(); i++) in getNumSamplersInType()
262 sum += getNumSamplersInType(structType.getMember(i).getType()); in getNumSamplersInType()
275 …StructType* const structType = new StructType(("structType" + de::toString(curStructIdx++)).c_str(… in generateRandomType() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/transform_feedback/
DvktTransformFeedbackRandomLayoutCase.cpp220 …StructType& structType = m_interface.allocStruct(std::string("s") + genName('A', 'Z', m_structNdx)… in generateType() local
233 structType.addMember(std::string("m") + (char)('A' + ndx), memberTypes[ndx], flags); in generateType()
236 return VarType(&structType, m_explicitXfbOffsets ? static_cast<deUint32>(LAYOUT_XFBOFFSET) : 0u); in generateType()
DvktTransformFeedbackFuzzLayoutCase.cpp981 void generateDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel);
983 void generateLocalDeclaration (std::ostringstream& src, const StructType& structType, int indentLev…
984 void generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLev…
986 void generateDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel) in generateDeclaration() argument
988 DE_ASSERT(structType.hasTypeName()); in generateDeclaration()
989 generateFullDeclaration(src, structType, indentLevel); in generateDeclaration()
993 void generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLeve… in generateFullDeclaration() argument
996 if (structType.hasTypeName()) in generateFullDeclaration()
997 src << " " << structType.getTypeName(); in generateFullDeclaration()
1000 …for (StructType::ConstIterator memberIter = structType.begin(); memberIter != structType.end(); me… in generateFullDeclaration()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackRandomLayoutCase.cpp220 …StructType& structType = m_interface.allocStruct(std::string("s") + genName('A', 'Z', m_structNdx)… in generateType() local
233 structType.addMember(std::string("m") + (char)('A' + ndx), memberTypes[ndx], flags); in generateType()
236 return VarType(&structType, m_explicitXfbOffsets ? static_cast<deUint32>(LAYOUT_XFBOFFSET) : 0u); in generateType()
DvktTransformFeedbackFuzzLayoutCase.cpp981 void generateDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel);
983 void generateLocalDeclaration (std::ostringstream& src, const StructType& structType, int indentLev…
984 void generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLev…
986 void generateDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel) in generateDeclaration() argument
988 DE_ASSERT(structType.hasTypeName()); in generateDeclaration()
989 generateFullDeclaration(src, structType, indentLevel); in generateDeclaration()
993 void generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLeve… in generateFullDeclaration() argument
996 if (structType.hasTypeName()) in generateFullDeclaration()
997 src << " " << structType.getTypeName(); in generateFullDeclaration()
1000 …for (StructType::ConstIterator memberIter = structType.begin(); memberIter != structType.end(); me… in generateFullDeclaration()
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsRandomUniformBlockCase.cpp173 …StructType& structType = m_interface.allocStruct((string("s") + genName('A', 'Z', m_structNdx)).c_… in generateType() local
184 structType.addMember((string("m") + (char)('A' + ndx)).c_str(), memberTypes[ndx], flags); in generateType()
187 return VarType(&structType); in generateType()
DglsUniformBlockCase.cpp815 void generateDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel…
817 void generateLocalDeclaration (std::ostringstream& src, const StructType& structType, int indentLe…
818 void generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLe…
820 void generateDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel) in generateDeclaration() argument
822 DE_ASSERT(structType.getTypeName() != DE_NULL); in generateDeclaration()
823 generateFullDeclaration(src, structType, indentLevel); in generateDeclaration()
827 void generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLeve… in generateFullDeclaration() argument
830 if (structType.getTypeName()) in generateFullDeclaration()
831 src << " " << structType.getTypeName(); in generateFullDeclaration()
834 …for (StructType::ConstIterator memberIter = structType.begin(); memberIter != structType.end(); me… in generateFullDeclaration()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcUniformBlockCase.cpp724 void generateDeclaration(std::ostringstream& src, const StructType& structType, int indentLevel);
726 void generateLocalDeclaration(std::ostringstream& src, const StructType& structType, int indentLeve…
727 void generateFullDeclaration(std::ostringstream& src, const StructType& structType, int indentLevel…
729 void generateDeclaration(std::ostringstream& src, const StructType& structType, int indentLevel) in generateDeclaration() argument
731 DE_ASSERT(structType.getTypeName() != DE_NULL); in generateDeclaration()
732 generateFullDeclaration(src, structType, indentLevel); in generateDeclaration()
736 void generateFullDeclaration(std::ostringstream& src, const StructType& structType, int indentLevel) in generateFullDeclaration() argument
739 if (structType.getTypeName()) in generateFullDeclaration()
740 src << " " << structType.getTypeName(); in generateFullDeclaration()
743 …for (StructType::ConstIterator memberIter = structType.begin(); memberIter != structType.end(); me… in generateFullDeclaration()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/
DvktRandomUniformBlockCase.cpp200 …StructType& structType = m_interface.allocStruct(std::string("s") + genName('A', 'Z', m_structNdx)… in generateType() local
211 structType.addMember(std::string("m") + (char)('A' + ndx), memberTypes[ndx], flags); in generateType()
214 return VarType(&structType, m_shuffleUniformMembers ? static_cast<deUint32>(LAYOUT_OFFSET) : 0u); in generateType()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory_model/
DvktMemoryModelSharedLayout.cpp176 de::SharedPtr<glu::StructType> structType = m_interface.allocStruct(name); in generateType() local
180structType.get()->addMember((string("m") + static_cast<char>(('A' + i))).c_str(), memberTypes[i]); in generateType()
182 return glu::VarType(structType.get()); in generateType()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ubo/
DvktRandomUniformBlockCase.cpp200 …StructType& structType = m_interface.allocStruct(std::string("s") + genName('A', 'Z', m_structNdx)… in generateType() local
211 structType.addMember(std::string("m") + (char)('A' + ndx), memberTypes[ndx], flags); in generateType()
214 return VarType(&structType, m_shuffleUniformMembers ? static_cast<deUint32>(LAYOUT_OFFSET) : 0u); in generateType()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory_model/
DvktMemoryModelSharedLayout.cpp176 de::SharedPtr<glu::StructType> structType = m_interface.allocStruct(name); in generateType() local
180structType.get()->addMember((string("m") + static_cast<char>(('A' + i))).c_str(), memberTypes[i]); in generateType()
182 return glu::VarType(structType.get()); in generateType()

123