a4a4aefa03
When the compiler pads a data structure, the padded bytes will not be initialized. Shader keys are compared with memcmp and unitialized bytes within the structure breaks this mechanism. Explicitly pad the structures with members, so the compiler is forced to initialize them. Add a warning to indicate if a change to alignment in any of the data structures requires additional padding. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17749> |
||
---|---|---|
.. | ||
blorp | ||
ci | ||
common | ||
compiler | ||
dev | ||
ds | ||
genxml | ||
isl | ||
nullhw-layer | ||
perf | ||
tools | ||
vulkan | ||
meson.build |