From 0dd9076db2154d787f6e06b713721e877b746b83 Mon Sep 17 00:00:00 2001 From: Darren Wihandi <65404740+fairywreath@users.noreply.github.com> Date: Fri, 24 Jan 2025 16:13:16 -0500 Subject: 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 --- include/slang-image-format-defs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 -- cgit v1.2.3