gpu: validate Surface methods
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
3f08d1b549
commit
4415d96b61
1 changed files with 2 additions and 2 deletions
|
|
@ -195,8 +195,8 @@ pub fn Interface(comptime Impl: type) type {
|
|||
assertDecl(Impl, "shaderModuleSetLabel", fn (shader_module: gpu.ShaderModule, label: [*:0]const u8) callconv(.Inline) void);
|
||||
assertDecl(Impl, "shaderModuleReference", fn (shader_module: gpu.ShaderModule) callconv(.Inline) void);
|
||||
assertDecl(Impl, "shaderModuleRelease", fn (shader_module: gpu.ShaderModule) callconv(.Inline) void);
|
||||
// assertDecl(Impl, "surfaceReference", fn (surface: gpu.Surface) callconv(.Inline) void);
|
||||
// assertDecl(Impl, "surfaceRelease", fn (surface: gpu.Surface) callconv(.Inline) void);
|
||||
assertDecl(Impl, "surfaceReference", fn (surface: gpu.Surface) callconv(.Inline) void);
|
||||
assertDecl(Impl, "surfaceRelease", fn (surface: gpu.Surface) callconv(.Inline) void);
|
||||
// assertDecl(Impl, "swapChainConfigure", fn (swap_chain: gpu.SwapChain, format: gpu.TextureFormat, allowed_usage: gpu.TextureUsageFlags, width: u32, height: u32) callconv(.Inline) void);
|
||||
// assertDecl(Impl, "swapChainGetCurrentTextureView", fn (swap_chain: gpu.SwapChain) callconv(.Inline) gpu.TextureView);
|
||||
// assertDecl(Impl, "swapChainPresent", fn (swap_chain: gpu.SwapChain) callconv(.Inline) void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue