mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-04-07 12:18:40 +00:00
chore: add logic for computing precompiled index on material pass
This commit is contained in:
@@ -280,12 +280,14 @@ namespace techset
|
||||
std::string stateMap,
|
||||
CommonTechniqueShader vertexShader,
|
||||
CommonTechniqueShader pixelShader,
|
||||
CommonVertexDeclaration vertexDeclaration)
|
||||
CommonVertexDeclaration vertexDeclaration,
|
||||
std::string comment)
|
||||
: m_sampler_flags(samplerFlags),
|
||||
m_state_map(std::move(stateMap)),
|
||||
m_vertex_shader(std::move(vertexShader)),
|
||||
m_pixel_shader(std::move(pixelShader)),
|
||||
m_vertex_declaration(std::move(vertexDeclaration))
|
||||
m_vertex_declaration(std::move(vertexDeclaration)),
|
||||
m_comment(std::move(comment))
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -283,7 +283,8 @@ namespace techset
|
||||
std::string stateMap,
|
||||
CommonTechniqueShader vertexShader,
|
||||
CommonTechniqueShader pixelShader,
|
||||
CommonVertexDeclaration vertexDeclaration);
|
||||
CommonVertexDeclaration vertexDeclaration,
|
||||
std::string comment);
|
||||
|
||||
[[nodiscard]] FrequencyCounts_t GetFrequencyCounts(const CommonCodeSourceInfos& infos) const;
|
||||
|
||||
@@ -292,6 +293,7 @@ namespace techset
|
||||
CommonTechniqueShader m_vertex_shader;
|
||||
CommonTechniqueShader m_pixel_shader;
|
||||
CommonVertexDeclaration m_vertex_declaration;
|
||||
std::string m_comment;
|
||||
std::vector<CommonShaderArg> m_args;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user