Use the "SPIRV_Cross" naming scheme for generated uniforms.

This commit is contained in:
Hans-Kristian Arntzen 2016-09-11 12:13:31 +02:00
parent dfb6597ee4
commit a5f0abdc11

View File

@ -633,7 +633,7 @@ int main(int argc, char *argv[])
// Give the remapped combined samplers new names.
for (auto &remap : compiler->get_combined_image_samplers())
{
compiler->set_name(remap.combined_id, join("_Combined", compiler->get_name(remap.image_id),
compiler->set_name(remap.combined_id, join("SPIRV_Cross_Combined", compiler->get_name(remap.image_id),
compiler->get_name(remap.sampler_id)));
}
}