mesa/src/gallium/drivers/iris
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
..
driinfo_iris.h driconf: Add a limit_trig_input_range option 2022-05-13 06:47:53 +00:00
iris_batch.c intel/compiler: Introduce a new brw_isa_info structure 2022-06-30 23:46:35 +00:00
iris_batch.h u_trace/anv/iris: drop cs argument for recording traces 2022-05-19 19:04:28 +00:00
iris_binder.c iris: Restore flagging of dirty bindings in binder_realloc 2022-03-11 07:59:18 +00:00
iris_binder.h iris: Use more efficient binding table pointer formats on Icelake+. 2022-03-09 09:18:59 +00:00
iris_blit.c iris: Split out an IRIS_DOMAIN_SAMPLER_READ domain from OTHER_READ 2022-04-13 09:07:35 +00:00
iris_blorp.c iris: Wa_14016820455 for GFX_VERx10 == 12.5 2022-06-22 22:22:50 +00:00
iris_border_color.c iris: have a single border color pool per bufmgr 2022-02-11 01:42:45 +00:00
iris_bufmgr.c iris/bufmgr: Add I915_GEM_CREATE_EXT_FLAG_NEEDS_CPU_ACCESS for vram mappable buffers 2022-07-26 20:34:02 +00:00
iris_bufmgr.h iris: use new kernel uAPI to compute video memory 2022-05-02 22:57:06 +00:00
iris_clear.c iris|anv: gfx version 12.5 data cache flush is not a workaround 2022-07-28 22:08:46 +00:00
iris_context.c iris: Don't leak scratch BOs 2022-04-13 15:56:50 +00:00
iris_context.h iris: pad all structures used in a shader key 2022-07-29 20:45:25 +00:00
iris_defines.h
iris_disk_cache.c intel/fs,vec4: Drop uniform compaction and pull constant support 2021-12-10 21:20:47 +00:00
iris_draw.c iris: Rename surface_base_address to binder_address in a few places 2022-03-09 09:18:59 +00:00
iris_fence.c mesa: fix SignalSemaphoreEXT behavior 2022-07-10 16:15:17 +00:00
iris_fence.h iris: signal the syncobj after a failed batch 2021-09-07 19:03:03 +00:00
iris_fine_fence.c iris: syncobjs are now owned by bufmgr instead of screen 2021-09-01 21:48:13 +00:00
iris_fine_fence.h
iris_formats.c iris: Explicitly rely on gallium fallbacks for YUV 2022-01-28 00:30:55 +00:00
iris_genx_macros.h iris: Rename bo->gtt_offset to bo->address 2021-08-11 08:05:00 +00:00
iris_genx_protos.h iris: Add genX(emit_depth_state_workarounds) 2021-08-20 17:50:35 +00:00
iris_measure.c iris: provide a callback to INTEL_MEASURE to clean up snapshots 2022-06-16 02:58:08 +00:00
iris_measure.h
iris_monitor.c intel/perf: add max vfuncs 2022-05-17 19:55:10 +00:00
iris_monitor.h
iris_perf.c iris/bufmgr: Add flag to allocate from local memory. 2021-06-24 16:14:38 +00:00
iris_perf.h
iris_performance_query.c intel/perf: add max vfuncs 2022-05-17 19:55:10 +00:00
iris_pipe.h
iris_pipe_control.c iris: Add VF_CACHE_INVALIDATE to IRIS_DOMAIN_OTHER_WRITE flush bits 2022-04-13 09:07:35 +00:00
iris_program.c intel,anv,iris,crocus: Drop subgroup size from the shader key 2022-07-08 22:47:22 +00:00
iris_program_cache.c intel/compiler: Introduce a new brw_isa_info structure 2022-06-30 23:46:35 +00:00
iris_query.c iris: Use PIPE_* defines rather than ones from main/config.h 2022-06-30 23:46:35 +00:00
iris_resolve.c shader_info: Make images_used a bitset 2022-05-10 11:23:11 -05:00
iris_resource.c iris: Set clear_color_unknown if the bo is not mappable 2022-07-21 20:27:10 +00:00
iris_resource.h iris: Remove remaining history flushes. 2022-04-04 10:32:31 -07:00
iris_screen.c iris/bufmgr: Use memory info from devinfo 2022-06-22 00:30:49 +00:00
iris_screen.h driconf: Add a limit_trig_input_range option 2022-05-13 06:47:53 +00:00
iris_state.c iris: Use fill_surface_states for compressed resources 2022-07-22 16:33:37 +00:00
iris_utrace.c u_trace/anv/iris: drop cs argument for recording traces 2022-05-19 19:04:28 +00:00
iris_utrace.h iris: utrace/perfetto support 2022-01-14 20:17:44 +00:00
meson.build iris: utrace/perfetto support 2022-01-14 20:17:44 +00:00