mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 07:36:15 +00:00
Introduce Begin/EndComputePass (#70)
This commit is contained in:
@@ -65,6 +65,12 @@ namespace opengl {
|
||||
|
||||
while(commands.NextCommandId(&type)) {
|
||||
switch (type) {
|
||||
case Command::BeginComputePass:
|
||||
{
|
||||
commands.NextCommand<BeginComputePassCmd>();
|
||||
}
|
||||
break;
|
||||
|
||||
case Command::BeginRenderPass:
|
||||
{
|
||||
commands.NextCommand<BeginRenderPassCmd>();
|
||||
@@ -166,6 +172,12 @@ namespace opengl {
|
||||
}
|
||||
break;
|
||||
|
||||
case Command::EndComputePass:
|
||||
{
|
||||
commands.NextCommand<EndComputePassCmd>();
|
||||
}
|
||||
break;
|
||||
|
||||
case Command::EndRenderPass:
|
||||
{
|
||||
commands.NextCommand<EndRenderPassCmd>();
|
||||
|
||||
Reference in New Issue
Block a user