gpu: centralize FeatureName -> enums.zig

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-09 09:45:02 -07:00 committed by Stephen Gutekanst
parent 1ad93c1fbb
commit bb18701609
4 changed files with 3 additions and 3 deletions

View file

@ -1,22 +0,0 @@
pub const FeatureName = enum(u32) {
depth24_unorm_stencil8 = 0x00000002,
depth32_float_stencil8 = 0x00000003,
timestamp_query = 0x00000004,
pipeline_statistics_query = 0x00000005,
texture_compression_bc = 0x00000006,
texture_compression_etc2 = 0x00000007,
texture_compression_astc = 0x00000008,
indirect_first_instance = 0x00000009,
depth_clamping = 0x000003e8,
dawn_shader_float16 = 0x000003e9,
dawn_internal_usages = 0x000003ea,
dawn_multi_planar_formats = 0x000003eb,
dawn_native = 0x000003ec,
};
// TODO: add featureNameString method
// TODO: should featureName be renamed to just feature?
test "syntax" {
_ = FeatureName;
}