gpu: move TextureViewDimension -> Texture.ViewDimension
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
7271df966e
commit
318715b792
2 changed files with 11 additions and 11 deletions
|
|
@ -170,6 +170,16 @@ pub const SampleType = enum(u32) {
|
|||
uint = 0x00000005,
|
||||
};
|
||||
|
||||
pub const ViewDimension = enum(u32) {
|
||||
dimension_none = 0x00000000,
|
||||
dimension_1d = 0x00000001,
|
||||
dimension_2d = 0x00000002,
|
||||
dimension_2d_array = 0x00000003,
|
||||
dimension_cube = 0x00000004,
|
||||
dimension_cube_array = 0x00000005,
|
||||
dimension_3d = 0x00000006,
|
||||
};
|
||||
|
||||
test "syntax" {
|
||||
_ = VTable;
|
||||
_ = reference;
|
||||
|
|
@ -181,4 +191,5 @@ test "syntax" {
|
|||
_ = ComponentType;
|
||||
_ = Dimension;
|
||||
_ = SampleType;
|
||||
_ = ViewDimension;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -203,16 +203,6 @@ pub const StoreOp = enum(u32) {
|
|||
discard = 0x00000002,
|
||||
};
|
||||
|
||||
pub const TextureViewDimension = enum(u32) {
|
||||
dimension_none = 0x00000000,
|
||||
dimension_1d = 0x00000001,
|
||||
dimension_2d = 0x00000002,
|
||||
dimension_2d_array = 0x00000003,
|
||||
dimension_cube = 0x00000004,
|
||||
dimension_cube_array = 0x00000005,
|
||||
dimension_3d = 0x00000006,
|
||||
};
|
||||
|
||||
pub const VertexFormat = enum(u32) {
|
||||
none = 0x00000000,
|
||||
uint8x2 = 0x00000001,
|
||||
|
|
@ -321,7 +311,6 @@ test "syntax" {
|
|||
_ = StencilOperation;
|
||||
_ = StorageTextureAccess;
|
||||
_ = StoreOp;
|
||||
_ = TextureViewDimension;
|
||||
_ = VertexFormat;
|
||||
_ = VertexStepMode;
|
||||
_ = BufferUsage;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue