gpu: convert Sampler from enum(usize) to *opaque
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
cb8c874536
commit
34edad6a2c
3 changed files with 35 additions and 38 deletions
|
|
@ -12,7 +12,7 @@ pub const BindGroupEntry = extern struct {
|
|||
buffer: ?Buffer,
|
||||
offset: u64,
|
||||
size: u64,
|
||||
sampler: Sampler = Sampler.none, // nullable
|
||||
sampler: ?Sampler,
|
||||
texture_view: TextureView = TextureView.none, // nullable
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue