Commit f5faa18c authored by Laszlo Agocs's avatar Laszlo Agocs

Make desc. include inputs and uniforms added by batch.rewriting

parent 33e51a2c
......@@ -340,11 +340,14 @@ QBakedShader QShaderBaker::bake()
QSpirvShader spirvShader;
spirvShader.setSpirvBinary(spirv);
bs.setDescription(spirvShader.shaderDescription());
QSpirvShader batchableSpirvShader;
if (!batchableSpirv.isEmpty())
if (!batchableSpirv.isEmpty()) {
batchableSpirvShader.setSpirvBinary(batchableSpirv);
bs.setDescription(batchableSpirvShader.shaderDescription());
} else {
bs.setDescription(spirvShader.shaderDescription());
}
for (const GeneratedShader &req: d->reqVersions) {
for (const QBakedShaderKey::ShaderVariant &v : d->variants) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment