mesa/src
Mark Janes e6f6142c9b iris: pad all structures used in a shader key
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>
2022-07-29 20:45:25 +00:00
..
amd util/list: rename LIST_ENTRY() to list_entry() 2022-07-28 10:10:44 +00:00
android_stub
asahi panfrost,asahi: Use util_sign_extend for unpacking 2022-07-06 11:23:18 +00:00
broadcom vc4/v3d: stop adding NORAST when SHADERDB debug option is used 2022-07-29 18:29:34 +00:00
c11 c11: reinstate the original license and authorship 2022-06-27 11:46:22 +00:00
compiler util/list: rename LIST_ENTRY() to list_entry() 2022-07-28 10:10:44 +00:00
drm-shim drm-shim: Cleanup on device file close 2022-05-02 19:50:33 +00:00
egl dri: add [ax]bgr16161616 to format lookup tables 2022-07-27 07:27:10 +00:00
etnaviv util/list: rename LIST_ENTRY() to list_entry() 2022-07-28 10:10:44 +00:00
freedreno turnip: shared_consts and push_consts are mutually exclusive 2022-07-29 16:22:43 +00:00
gallium iris: pad all structures used in a shader key 2022-07-29 20:45:25 +00:00
gbm gbm: add GBM_FORMAT_[AX]BGR16161616 2022-07-27 07:27:10 +00:00
getopt
glx glx: Convert tab to space in applegl_glx.c 2022-07-29 12:57:26 +00:00
gtest gtest: Fix maybe-uninitialized compiler warning 2022-06-29 21:02:18 +00:00
hgl
imagination pvr: Fix cdm shared reg usage reported to fw. 2022-07-29 11:37:06 +00:00
imgui
intel iris|anv: gfx version 12.5 data cache flush is not a workaround 2022-07-28 22:08:46 +00:00
loader dri: add [ax]bgr16161616 to format lookup tables 2022-07-27 07:27:10 +00:00
mapi Fix static glapi on Windows 2022-07-14 20:01:22 +00:00
mesa mesa/st: disable unrestricted fragment depth values for GL/GLES 2022-07-28 10:35:04 +10:00
microsoft dzn: Retrieve validator version 2022-07-23 14:48:17 +00:00
nouveau nir: Split usub_sat lowering flag from uadd_sat. 2022-07-22 17:54:28 +00:00
panfrost util/list: rename LIST_ENTRY() to list_entry() 2022-07-28 10:10:44 +00:00
tool meson/pps: Check if libdrm exists to compile pps 2022-06-22 11:52:36 +03:00
util util: define helpful macros for compiler diagnostic features 2022-07-29 20:45:25 +00:00
virtio venus: add support for VK_KHR_dynamic_rendering 2022-07-23 01:14:22 +00:00
vulkan vulkan: Include self-dep info in rendering continues 2022-07-26 17:47:20 +00:00
meson.build meson: Use cc.get_argument_syntax instead cc.get_id when possible. 2022-06-16 19:59:58 +00:00