gpu: add ComputePassTimestampWrite
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
97724b8779
commit
bb399b5050
2 changed files with 8 additions and 6 deletions
|
|
@ -13,12 +13,6 @@ typedef struct WGPUCompilationMessage {
|
|||
length: u64,
|
||||
} WGPUCompilationMessage;
|
||||
|
||||
typedef struct WGPUComputePassTimestampWrite {
|
||||
WGPUQuerySet querySet;
|
||||
query_index: u32,
|
||||
WGPUComputePassTimestampLocation location;
|
||||
} WGPUComputePassTimestampWrite;
|
||||
|
||||
typedef struct WGPUConstantEntry {
|
||||
next_in_chain: *const ChainedStruct,
|
||||
char const * key;
|
||||
|
|
|
|||
|
|
@ -34,7 +34,15 @@ pub const SwapChain = @import("swap_chain.zig").SwapChain;
|
|||
pub const Texture = @import("texture.zig").Texture;
|
||||
pub const TextureView = @import("texture_view.zig").TextureView;
|
||||
|
||||
// TODO: export all types.zig
|
||||
pub const AlphaMode = @import("types.zig").AlphaMode;
|
||||
pub const ComputePassTimestampLocation = @import("types.zig").ComputePassTimestampLocation;
|
||||
|
||||
pub const ComputePassTimestampWrite = struct {
|
||||
query_set: QuerySet,
|
||||
query_index: u32,
|
||||
location: ComputePassTimestampLocation,
|
||||
};
|
||||
|
||||
test {
|
||||
refAllDecls(@import("adapter.zig"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue