5 #ifndef FLUTTER_IMPELLER_RENDERER_SHADER_KEY_H_
6 #define FLUTTER_IMPELLER_RENDERER_SHADER_KEY_H_
10 #include <unordered_map>
12 #include "flutter/fml/hash_combine.h"
13 #include "flutter/fml/macros.h"
23 :
name({p_name.data(), p_name.size()}),
stage(p_stage) {}
27 return fml::HashCombine(key.
name, key.
stage);
41 std::unordered_map<ShaderKey,
42 std::shared_ptr<const ShaderFunction>,
48 #endif // FLUTTER_IMPELLER_RENDERER_SHADER_KEY_H_