Add material path to pipeline debug name
This commit is contained in:
parent
982ef5090c
commit
9dc43d9502
1 changed files with 1 additions and 1 deletions
|
@ -474,7 +474,7 @@ void renderer::create_mesh_pipeline(Material& material) const {
|
||||||
probes_constant.value = max_environment_probes;
|
probes_constant.value = max_environment_probes;
|
||||||
|
|
||||||
GFXGraphicsPipelineCreateInfo pipelineInfo = {};
|
GFXGraphicsPipelineCreateInfo pipelineInfo = {};
|
||||||
pipelineInfo.label = "Mesh";
|
pipelineInfo.label = "Mesh " + material.path;
|
||||||
pipelineInfo.shaders.vertex_src = ShaderSource(prism::path("mesh.vert"));
|
pipelineInfo.shaders.vertex_src = ShaderSource(prism::path("mesh.vert"));
|
||||||
pipelineInfo.shaders.fragment_src = ShaderSource(prism::path("mesh.frag"));
|
pipelineInfo.shaders.fragment_src = ShaderSource(prism::path("mesh.frag"));
|
||||||
|
|
||||||
|
|
Reference in a new issue