gpu: internalize RenderBundle types
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
836c46cc6c
commit
0fac1d9336
3 changed files with 10 additions and 10 deletions
|
|
@ -1,9 +1,9 @@
|
|||
const Texture = @import("texture.zig").Texture;
|
||||
const TextureFormat = @import("texture.zig").TextureFormat;
|
||||
const Buffer = @import("buffer.zig").Buffer;
|
||||
const RenderBundleDescriptor = @import("render_bundle.zig").RenderBundleDescriptor;
|
||||
const BindGroup = @import("bind_group.zig").BindGroup;
|
||||
const RenderPipeline = @import("render_pipeline.zig").RenderPipeline;
|
||||
const RenderBundle = @import("render_bundle.zig").RenderBundle;
|
||||
const ChainedStruct = @import("types.zig").ChainedStruct;
|
||||
const IndexFormat = @import("types.zig").IndexFormat;
|
||||
const Impl = @import("interface.zig").Impl;
|
||||
|
|
@ -44,7 +44,7 @@ pub const RenderBundleEncoder = opaque {
|
|||
Impl.renderBundleEncoderDrawIndirect(render_bundle_encoder, indirect_buffer, indirect_offset);
|
||||
}
|
||||
|
||||
pub inline fn finish(render_bundle_encoder: *RenderBundleEncoder, descriptor: ?*const RenderBundleDescriptor) void {
|
||||
pub inline fn finish(render_bundle_encoder: *RenderBundleEncoder, descriptor: ?*const RenderBundle.Descriptor) void {
|
||||
Impl.renderBundleEncoderFinish(render_bundle_encoder, descriptor);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue