Archived
1
Fork 0

More debug label changes

This commit is contained in:
redstrate 2021-02-05 19:17:13 -05:00
parent c92054e31b
commit e9bb4bc82c
2 changed files with 4 additions and 2 deletions

View file

@ -390,7 +390,7 @@ void SceneCapture::render(GFXCommandBuffer* command_buffer, Scene* scene) {
void SceneCapture::createSkyResources() {
GFXGraphicsPipelineCreateInfo pipelineInfo = {};
pipelineInfo.label = "Sky";
pipelineInfo.label = "Sky Scene Capture";
pipelineInfo.render_pass = renderPass;
pipelineInfo.shaders.vertex_path = "sky.vert";
@ -401,7 +401,7 @@ void SceneCapture::createSkyResources() {
};
pipelineInfo.shader_input.push_constants = {
{sizeof(Matrix4x4) + sizeof(Vector4) + sizeof(float), 0}
{(sizeof(Matrix4x4) + sizeof(Vector4) + sizeof(float)), 0}
};
pipelineInfo.depth.depth_mode = GFXDepthMode::LessOrEqual;

View file

@ -60,6 +60,7 @@ void DebugPass::initialize() {
{
// render pass
GFXRenderPassCreateInfo renderPassInfo = {};
renderPassInfo.label = "Select";
renderPassInfo.attachments.push_back(GFXPixelFormat::R8G8B8A8_UNORM);
renderPassInfo.attachments.push_back(GFXPixelFormat::DEPTH_32F);
@ -99,6 +100,7 @@ void DebugPass::initialize() {
{
// render pass
GFXRenderPassCreateInfo renderPassInfo = {};
renderPassInfo.label = "Sobel";
renderPassInfo.attachments.push_back(GFXPixelFormat::R8_UNORM);
sobelRenderPass = engine->get_gfx()->create_render_pass(renderPassInfo);