gpu: inline TODOs

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-25 21:58:21 -07:00 committed by Stephen Gutekanst
parent 8453b0d2a6
commit b0adf42c70
25 changed files with 1939 additions and 605 deletions

View file

@ -1,6 +1,18 @@
const ChainedStruct = @import("types.zig").ChainedStruct;
pub const ShaderModule = *opaque {};
pub const ShaderModule = *opaque {
// TODO
// pub inline fn shaderModuleGetCompilationInfo(shader_module: gpu.ShaderModule, callback: gpu.CompilationInfoCallback, userdata: *anyopaque) void {
// TODO
// pub inline fn shaderModuleSetLabel(shader_module: gpu.ShaderModule, label: [*:0]const u8) void {
// TODO
// pub inline fn shaderModuleReference(shader_module: gpu.ShaderModule) void {
// TODO
// pub inline fn shaderModuleRelease(shader_module: gpu.ShaderModule) void {
};
pub const ShaderModuleDescriptor = extern struct {
next_in_chain: *const ChainedStruct,