gpu-dawn: update to generated-2022-02-17
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
0b5b832549
commit
83f3f3452e
3 changed files with 324 additions and 306 deletions
|
|
@ -1,8 +1,8 @@
|
|||
#include <dawn_native/DawnNative.h>
|
||||
#include <dawn_native/wgpu_structs_autogen.h>
|
||||
#include "utils/BackendBinding.h"
|
||||
#include <dawn/native/DawnNative.h>
|
||||
#include <dawn/native/wgpu_structs_autogen.h>
|
||||
#include "dawn/utils/BackendBinding.h"
|
||||
#if defined(DAWN_ENABLE_BACKEND_OPENGL)
|
||||
#include <dawn_native/OpenGLBackend.h>
|
||||
#include <dawn/native/OpenGLBackend.h>
|
||||
#endif
|
||||
#include "dawn_native_mach.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -157,7 +157,7 @@ fn frame(params: FrameParams) !void {
|
|||
const pass = c.wgpuCommandEncoderBeginRenderPass(encoder, &render_pass_info);
|
||||
c.wgpuRenderPassEncoderSetPipeline(pass, params.pipeline);
|
||||
c.wgpuRenderPassEncoderDraw(pass, 3, 1, 0, 0);
|
||||
c.wgpuRenderPassEncoderEndPass(pass);
|
||||
c.wgpuRenderPassEncoderEnd(pass);
|
||||
c.wgpuRenderPassEncoderRelease(pass);
|
||||
|
||||
const commands = c.wgpuCommandEncoderFinish(encoder, null);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue