Searched refs:VarTypeComponent (Results 1 – 5 of 5) sorted by relevance
73 struct VarTypeComponent struct85 VarTypeComponent (Type type_, int index_) : type(type_), index(index_) {} in VarTypeComponent() function86 VarTypeComponent (void) : type(TYPE_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 <<()
1243 if (pathComp->type == glu::VarTypeComponent::STRUCT_MEMBER) in getAPIName()1250 else if (pathComp->type == glu::VarTypeComponent::ARRAY_ELEMENT) in getAPIName()1284 if (pathComp->type == glu::VarTypeComponent::STRUCT_MEMBER) in getShaderName()1291 else if (pathComp->type == glu::VarTypeComponent::ARRAY_ELEMENT) in getShaderName()1302 …velNdx = (accessPath.size() > 1 && accessPath.front().type == glu::VarTypeComponent::ARRAY_ELEMEN… in computeOffset()1303 …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()
1054 if (pathComp->type == glu::VarTypeComponent::STRUCT_MEMBER) in getAPIName()1061 else if (pathComp->type == glu::VarTypeComponent::ARRAY_ELEMENT) in getAPIName()1095 if (pathComp->type == glu::VarTypeComponent::STRUCT_MEMBER) in getShaderName()1102 else if (pathComp->type == glu::VarTypeComponent::ARRAY_ELEMENT) in getShaderName()1113 …velNdx = (accessPath.size() > 1 && accessPath.front().type == glu::VarTypeComponent::ARRAY_ELEMEN… in computeOffset()1114 …const int bottomLevelNdx = (!accessPath.empty() && accessPath.back().type == glu::VarTypeComponent… in computeOffset()