gpu: add foundation for interface
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
bf8076918b
commit
414887db2a
8 changed files with 181 additions and 64 deletions
21
gpu/src/feature_name.zig
Normal file
21
gpu/src/feature_name.zig
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
pub const FeatureName = enum {
|
||||
TODO,
|
||||
};
|
||||
// TODO:
|
||||
// typedef enum WGPUFeatureName {
|
||||
// WGPUFeatureName_Undefined = 0x00000000,
|
||||
// WGPUFeatureName_Depth24UnormStencil8 = 0x00000002,
|
||||
// WGPUFeatureName_Depth32FloatStencil8 = 0x00000003,
|
||||
// WGPUFeatureName_TimestampQuery = 0x00000004,
|
||||
// WGPUFeatureName_PipelineStatisticsQuery = 0x00000005,
|
||||
// WGPUFeatureName_TextureCompressionBC = 0x00000006,
|
||||
// WGPUFeatureName_TextureCompressionETC2 = 0x00000007,
|
||||
// WGPUFeatureName_TextureCompressionASTC = 0x00000008,
|
||||
// WGPUFeatureName_IndirectFirstInstance = 0x00000009,
|
||||
// WGPUFeatureName_DepthClamping = 0x000003E8,
|
||||
// WGPUFeatureName_DawnShaderFloat16 = 0x000003E9,
|
||||
// WGPUFeatureName_DawnInternalUsages = 0x000003EA,
|
||||
// WGPUFeatureName_DawnMultiPlanarFormats = 0x000003EB,
|
||||
// WGPUFeatureName_DawnNative = 0x000003EC,
|
||||
// WGPUFeatureName_Force32 = 0x7FFFFFFF
|
||||
// } WGPUFeatureName;
|
||||
Loading…
Add table
Add a link
Reference in a new issue