diff options
| author | Darren Wihandi <65404740+fairywreath@users.noreply.github.com> | 2025-01-24 16:13:16 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-24 13:13:16 -0800 |
| commit | 0dd9076db2154d787f6e06b713721e877b746b83 (patch) | |
| tree | 24f75b2c612fc0ee5a3ba8157c4d0dde7ff9a3a0 /include | |
| parent | 92c9fffb95c92b0bc07eb1c656375928b5cd5c33 (diff) | |
Add bgra8 format (#6163)
* add brga8 format
* add tests
* minor fixes
* cleanup
* maybe fix broken quad control test
* add missing xslang flag on test
---------
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/slang-image-format-defs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/slang-image-format-defs.h b/include/slang-image-format-defs.h index 0f7c7cec3..5e7922f44 100644 --- a/include/slang-image-format-defs.h +++ b/include/slang-image-format-defs.h @@ -45,5 +45,6 @@ SLANG_FORMAT(r16ui, (UINT16, 1, sizeof(uint16_t))) SLANG_FORMAT(r8ui, (UINT8, 1, sizeof(uint8_t))) SLANG_FORMAT(r64ui, (UINT64, 1, sizeof(uint64_t))) SLANG_FORMAT(r64i, (INT64, 1, sizeof(int64_t))) +SLANG_FORMAT(bgra8, (UINT8, 4, sizeof(uint32_t))) #undef SLANG_FORMAT |
