Home
last modified time | relevance | path

Searched refs:VarTypeComponent (Results 1 – 6 of 6) sorted by relevance

/third_party/vk-gl-cts/framework/opengl/
DgluVarTypeUtil.hpp73 struct VarTypeComponent struct
85 VarTypeComponent (Type type_, int index_) : type(type_), index(index_) {} in VarTypeComponent() function
86 VarTypeComponent (void) : type(VTCTYPE_LAST), index(0) {} in VarTypeComponent() function
88 …bool operator== (const VarTypeComponent& other) const { return type == other.type && index == o… in operator ==() argument
89 …bool operator!= (const VarTypeComponent& other) const { return type != other.type || index != o… in operator !=() argument
95 typedef std::vector<VarTypeComponent> TypeComponentVector;
130 …SubTypeAccess& member (int ndx) { m_path.push_back(VarTypeComponent(VarTypeComponent::STRUCT… in member()
131 …SubTypeAccess& element (int ndx) { m_path.push_back(VarTypeComponent(VarTypeComponent::ARRAY… in element()
132 …SubTypeAccess& column (int ndx) { m_path.push_back(VarTypeComponent(VarTypeComponent::MATRIX… in column()
133 …SubTypeAccess& component (int ndx) { m_path.push_back(VarTypeComponent(VarTypeComponent::VECT… in component()
[all …]
DgluVarTypeUtil.cpp125 path.push_back(VarTypeComponent(VarTypeComponent::STRUCT_MEMBER, ndx)); in parseTypePath()
138 path.push_back(VarTypeComponent(VarTypeComponent::ARRAY_ELEMENT, ndx)); in parseTypePath()
143 path.push_back(VarTypeComponent(VarTypeComponent::MATRIX_COLUMN, ndx)); in parseTypePath()
148 path.push_back(VarTypeComponent(VarTypeComponent::VECTOR_COMPONENT, ndx)); in parseTypePath()
170 case VarTypeComponent::ARRAY_ELEMENT: in operator <<()
174 case VarTypeComponent::MATRIX_COLUMN: in operator <<()
175 case VarTypeComponent::VECTOR_COMPONENT: in operator <<()
179 case VarTypeComponent::STRUCT_MEMBER: in operator <<()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory_model/
DvktMemoryModelSharedLayoutCase.cpp149 if (pathComp->type == glu::VarTypeComponent::STRUCT_MEMBER) in getStructMemberName()
156 else if (pathComp->type == glu::VarTypeComponent::ARRAY_ELEMENT) in getStructMemberName()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp1143 if (pathComp->type == glu::VarTypeComponent::STRUCT_MEMBER) in getAPIName()
1150 else if (pathComp->type == glu::VarTypeComponent::ARRAY_ELEMENT) in getAPIName()
1186 if (pathComp->type == glu::VarTypeComponent::STRUCT_MEMBER) in getShaderName()
1193 else if (pathComp->type == glu::VarTypeComponent::ARRAY_ELEMENT) in getShaderName()
1204 …velNdx = (accessPath.size() > 1 && accessPath.front().type == glu::VarTypeComponent::ARRAY_ELEMEN… in computeOffset()
1205 …const int bottomLevelNdx = (!accessPath.empty() && accessPath.back().type == glu::VarTypeComponent in computeOffset()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp1049 if (pathComp->type == glu::VarTypeComponent::STRUCT_MEMBER) in getAPIName()
1056 else if (pathComp->type == glu::VarTypeComponent::ARRAY_ELEMENT) in getAPIName()
1090 if (pathComp->type == glu::VarTypeComponent::STRUCT_MEMBER) in getShaderName()
1097 else if (pathComp->type == glu::VarTypeComponent::ARRAY_ELEMENT) in getShaderName()
1108 …velNdx = (accessPath.size() > 1 && accessPath.front().type == glu::VarTypeComponent::ARRAY_ELEMEN… in computeOffset()
1109 …const int bottomLevelNdx = (!accessPath.empty() && accessPath.back().type == glu::VarTypeComponent in computeOffset()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fTransformFeedbackTests.cpp311 case glu::VarTypeComponent::STRUCT_MEMBER: prefix = "_m"; break; in getAttributeName()
312 case glu::VarTypeComponent::ARRAY_ELEMENT: prefix = "_e"; break; in getAttributeName()
313 case glu::VarTypeComponent::MATRIX_COLUMN: prefix = "_c"; break; in getAttributeName()
314 case glu::VarTypeComponent::VECTOR_COMPONENT: prefix = "_s"; break; in getAttributeName()