gpu: improve ABI compatibility of BindGroupLayout.Entry
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
d635bee216
commit
789f6291e4
2 changed files with 4 additions and 34 deletions
|
|
@ -34,7 +34,8 @@ pub const Descriptor = struct {
|
|||
entries: []const Entry,
|
||||
};
|
||||
|
||||
pub const Entry = struct {
|
||||
pub const Entry = extern struct {
|
||||
reserved: ?*anyopaque = null,
|
||||
binding: u32,
|
||||
visibility: ShaderStage,
|
||||
buffer: Buffer.BindingLayout,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue