summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2025-07-31 15:23:13 +0800
committerGitHub <noreply@github.com>2025-07-31 07:23:13 +0000
commit66301ab9068c5705e5a2bcbf2eaadfb28e8bb084 (patch)
tree3682e0224df6706bcf70f58e37873c1d078c785c /include
parentdb59c22cfb774e984a207a074f13870b78ec0071 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/slang.h3
1 files changed, 3 insertions, 0 deletions
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,
};