clc: add commment to clc_optional_features to ensure no padding exists

Hopefully this is good enough.

Signed-off-by: Karol Herbst <git@karolherbst.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23532>
This commit is contained in:
Karol Herbst
2023-06-15 15:41:31 +02:00
committed by Marge Bot
parent 0d5673d635
commit 23cbe6b0d5

View File

@@ -49,6 +49,7 @@ enum clc_spirv_version {
CLC_SPIRV_VERSION_1_4,
};
// IMPORTANT: this struct is used for hashing and must not contain any padding.
struct clc_optional_features {
bool fp16;
bool fp64;