mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
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:
parent
0d5673d635
commit
23cbe6b0d5
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue