mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-13 23:26:24 +00:00
replace AdvanceSubpass with Begin/EndRenderSubpass
and replace subpassActive with VALIDATION_ASPECT_RENDER_SUBPASS
This commit is contained in:
committed by
Corentin Wallez
parent
fffe6dfa16
commit
fa37f2239c
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user