HomeSort by relevance Sort by last modified time
    Searched refs:TAttributeType (Results 1 - 2 of 2) sorted by null

  /prebuilts/ndk/r16/sources/third_party/shaderc/third_party/glslang/hlsl/
hlslAttributes.h 45 enum TAttributeType {
70 // Allow use of TAttributeType enum in hash_map without calling code having to cast.
71 template <> struct hash<glslang::TAttributeType> {
72 std::size_t operator()(glslang::TAttributeType attr) const {
85 TAttributeType setAttribute(const TString* name, TIntermAggregate* value);
88 const TIntermAggregate* operator[](TAttributeType) const;
91 bool contains(TAttributeType) const;
95 static TAttributeType attributeFromName(const TString&);
97 std::unordered_map<TAttributeType, TIntermAggregate*> attributes;
hlslAttributes.cpp 41 // Map the given string to an attribute enum from TAttributeType,
43 TAttributeType TAttributeMap::attributeFromName(const TString& name)
91 TAttributeType TAttributeMap::setAttribute(const TString* name, TIntermAggregate* value)
96 const TAttributeType attr = attributeFromName(*name);
105 const TIntermAggregate* TAttributeMap::operator[](TAttributeType attr) const
113 bool TAttributeMap::contains(TAttributeType attr) const

Completed in 87 milliseconds