Skip to content

Commit be27131

Browse files
authored
Add ASTC SFLOAT formats (#20)
* Add ASTC SFLOAT formats * Add changelog entry
1 parent 4a7cc48 commit be27131

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Per Keep a Changelog there are 6 main categories of changes:
3434
- `Level::data`
3535
- `Level::uncompressed_byte_length`
3636
- Moved header data in `BasicDataFormatDescriptor` into `BasicDataFormatDescriptorHeader`.
37+
- Add `ASTC_n_SFLOAT_BLOCK` variants to `Format`.
3738

3839
## v0.3.0
3940

src/enums.rs

+14
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,20 @@ pseudo_enum! {
187187
ASTC_12x10_SRGB_BLOCK = 182,
188188
ASTC_12x12_UNORM_BLOCK = 183,
189189
ASTC_12x12_SRGB_BLOCK = 184,
190+
ASTC_4x4_SFLOAT_BLOCK = 1000066000,
191+
ASTC_5x4_SFLOAT_BLOCK = 1000066001,
192+
ASTC_5x5_SFLOAT_BLOCK = 1000066002,
193+
ASTC_6x5_SFLOAT_BLOCK = 1000066003,
194+
ASTC_6x6_SFLOAT_BLOCK = 1000066004,
195+
ASTC_8x5_SFLOAT_BLOCK = 1000066005,
196+
ASTC_8x6_SFLOAT_BLOCK = 1000066006,
197+
ASTC_8x8_SFLOAT_BLOCK = 1000066007,
198+
ASTC_10x5_SFLOAT_BLOCK = 1000066008,
199+
ASTC_10x6_SFLOAT_BLOCK = 1000066009,
200+
ASTC_10x8_SFLOAT_BLOCK = 1000066010,
201+
ASTC_10x10_SFLOAT_BLOCK = 1000066011,
202+
ASTC_12x10_SFLOAT_BLOCK = 1000066012,
203+
ASTC_12x12_SFLOAT_BLOCK = 1000066013,
190204
}
191205
}
192206

0 commit comments

Comments
 (0)