Graphics/UberShader: Add config callback
This commit is contained in:
@@ -54,6 +54,7 @@ namespace Nz
|
||||
if (shader.uberShader)
|
||||
{
|
||||
UberShader::Config config{ shader.optionValues };
|
||||
shader.uberShader->UpdateConfig(config, vertexBuffers);
|
||||
|
||||
renderPipelineInfo.shaderModules.push_back(shader.uberShader->Get(config));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user