Merge pull request #60138 from JFonS/fix_spec_constants

This commit is contained in:
Rémi Verschelde 2022-04-11 14:18:50 +02:00 committed by GitHub
commit dcdc6954f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -824,6 +824,9 @@ void SceneShaderForwardClustered::set_default_specialization_constants(const Vec
for (int k = 0; k < SHADER_VERSION_MAX; k++) {
E->self()->pipelines[i][j][k].update_specialization_constants(default_specialization_constants);
}
for (int k = 0; k < PIPELINE_COLOR_PASS_FLAG_COUNT; k++) {
E->self()->color_pipelines[i][j][k].update_specialization_constants(default_specialization_constants);
}
}
}
}