From 66301ab9068c5705e5a2bcbf2eaadfb28e8bb084 Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Thu, 31 Jul 2025 15:23:13 +0800 Subject: msvc style bitfield packing (#7963) Closes https://github.com/shader-slang/slang/issues/3646 New tests rather than just adding another TEST line to existing tests so that we get the msvc- prefix in the output of slang-test --- include/slang.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/slang.h b/include/slang.h index 516af9603..65449a1ff 100644 --- a/include/slang.h +++ b/include/slang.h @@ -1044,6 +1044,9 @@ typedef uint32_t SlangSizeT; DenormalModeFp32, DenormalModeFp64, + // Bitfield options + UseMSVCStyleBitfieldPacking, // bool + CountOf, }; -- cgit v1.2.3