replace AdvanceSubpass with Begin/EndRenderSubpass

and replace subpassActive with VALIDATION_ASPECT_RENDER_SUBPASS
This commit is contained in:
Kai Ninomiya
2017-06-29 23:53:08 -07:00
committed by Corentin Wallez
parent fffe6dfa16
commit fa37f2239c
20 changed files with 145 additions and 86 deletions

View File

@@ -133,6 +133,7 @@ void frame() {
nxt::CommandBufferBuilder builder = device.CreateCommandBufferBuilder()
.BeginRenderPass(renderpass, framebuffer)
.BeginRenderSubpass()
.SetPipeline(pipeline)
.Clone();
@@ -144,6 +145,7 @@ void frame() {
i++;
}
builder.EndRenderSubpass();
builder.EndRenderPass();
commands[j] = builder.GetResult();
}