Archived
1
Fork 0

Add material path to pipeline debug name

This commit is contained in:
Joshua Goins 2022-03-06 17:22:45 -05:00
parent 982ef5090c
commit 9dc43d9502

View file

@ -474,7 +474,7 @@ void renderer::create_mesh_pipeline(Material& material) const {
probes_constant.value = max_environment_probes;
GFXGraphicsPipelineCreateInfo pipelineInfo = {};
pipelineInfo.label = "Mesh";
pipelineInfo.label = "Mesh " + material.path;
pipelineInfo.shaders.vertex_src = ShaderSource(prism::path("mesh.vert"));
pipelineInfo.shaders.fragment_src = ShaderSource(prism::path("mesh.frag"));