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

@@ -253,12 +253,6 @@ namespace d3d12 {
while(commands.NextCommandId(&type)) {
switch (type) {
case Command::AdvanceSubpass:
{
commands.NextCommand<AdvanceSubpassCmd>();
}
break;
case Command::BeginRenderPass:
{
BeginRenderPassCmd* beginRenderPassCmd = commands.NextCommand<BeginRenderPassCmd>();
@@ -275,6 +269,12 @@ namespace d3d12 {
}
break;
case Command::BeginRenderSubpass:
{
commands.NextCommand<BeginRenderSubpassCmd>();
}
break;
case Command::CopyBufferToBuffer:
{
CopyBufferToBufferCmd* copy = commands.NextCommand<CopyBufferToBufferCmd>();
@@ -371,6 +371,12 @@ namespace d3d12 {
}
break;
case Command::EndRenderSubpass:
{
commands.NextCommand<EndRenderSubpassCmd>();
}
break;
case Command::SetPipeline:
{
SetPipelineCmd* cmd = commands.NextCommand<SetPipelineCmd>();