gpu: implement Sampler
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
1563fc7246
commit
b29fa9e13d
5 changed files with 63 additions and 0 deletions
|
|
@ -19,3 +19,9 @@ pub inline fn reference(texture_view: TextureView) void {
|
|||
pub inline fn release(texture_view: TextureView) void {
|
||||
texture_view.vtable.release(texture_view.ptr);
|
||||
}
|
||||
|
||||
test "syntax" {
|
||||
_ = VTable;
|
||||
_ = reference;
|
||||
_ = release;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue