Searched refs:VarTypeComponent (Results 1 – 6 of 6) sorted by relevance
73 struct VarTypeComponent struct85 VarTypeComponent (Type type_, int index_) : type(type_), index(index_) {} in VarTypeComponent() function86 VarTypeComponent (void) : type(VTCTYPE_LAST), index(0) {} in VarTypeComponent() function88 …bool operator== (const VarTypeComponent& other) const { return type == other.type && index == o… in operator ==() argument89 …bool operator!= (const VarTypeComponent& other) const { return type != other.type || index != o… in operator !=() argument95 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 …]
125 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 <<()
149 if (pathComp->type == glu::VarTypeComponent::STRUCT_MEMBER) in getStructMemberName()156 else if (pathComp->type == glu::VarTypeComponent::ARRAY_ELEMENT) in getStructMemberName()
1143 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()
1049 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()
311 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()