mesa/src/broadcom/compiler
Rob Clark 790144e65a util+treewide: container_of() cleanup
Replace mesa's slightly different container_of() with one more aligned
to the linux kernel's version which takes a type as the 2nd param.  This
avoids warnings like:

  freedreno_context.c:396:44: warning: variable 'batch' is uninitialized when used within its own initialization [-Wuninitialized]

At the same time, we can add additional build-time type-checking asserts

Signed-off-by: Rob Clark <robdclark@chromium.org>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7941>
2020-12-10 16:48:36 +00:00
..
meson.build v3d/compiler: add a lowering pass for robust buffer access 2020-10-13 21:21:33 +00:00
nir_to_vir.c nir: Add a halt instruction type 2020-11-25 05:37:09 +00:00
qpu_schedule.c util+treewide: container_of() cleanup 2020-12-10 16:48:36 +00:00
qpu_validate.c v3d: writes to magic registers aren't RF writes after THREND 2019-09-05 22:54:13 +01:00
v3d33_tex.c broadcom/compiler: Handle non-SSA destinations for tex instructions 2020-11-05 09:03:46 +00:00
v3d33_vpm_setup.c broadcom/vc5: Move V3D 3.3 VPM write setup to a separate file. 2018-01-12 21:56:24 -08:00
v3d40_tex.c broadcom/compiler: separate texture/sampler info from v3d_key 2020-11-14 15:59:02 +00:00
v3d_compiler.h broadcom/compiler: separate texture/sampler info from v3d_key 2020-11-14 15:59:02 +00:00
v3d_nir_lower_image_load_store.c v3d: Ask the state tracker to lower image accesses off of derefs. 2020-02-24 18:25:02 +00:00
v3d_nir_lower_io.c v3d/compiler: extend swapping R/B support to all vertex attributes 2020-11-05 12:15:28 +00:00
v3d_nir_lower_line_smooth.c v3d: Add a lowering pass for line smoothing 2020-07-06 21:59:16 +00:00
v3d_nir_lower_logic_ops.c nir: Split NIR_INTRINSIC_TYPE into separate src/dest indices 2020-10-01 18:36:53 +00:00
v3d_nir_lower_robust_buffer_access.c v3d/compiler: add a lowering pass for robust buffer access 2020-10-13 21:21:33 +00:00
v3d_nir_lower_scratch.c v3d: Use the new lower_to_scratch implementation for indirects on temps. 2019-04-12 16:16:58 -07:00
v3d_nir_lower_txf_ms.c v3d: Use nir_shader_lower_instructions() for txf_ms lowering. 2019-07-18 11:28:56 -07:00
vir.c broadcom/compiler: separate texture/sampler info from v3d_key 2020-11-14 15:59:02 +00:00
vir_dump.c broadcom/compiler: rename QUNIFORM_GET_BUFFER_SIZE to QUNIFORM_GET_SSBO_SIZE 2020-10-13 21:21:33 +00:00
vir_live_variables.c util/hash_table: update users to use new optimal integer hash functions 2020-01-23 17:06:57 +00:00
vir_opt_copy_propagate.c v3d: Use ldunif instructions for uniforms. 2019-03-05 12:57:39 -08:00
vir_opt_dead_code.c v3d: Drop the V3D 3.x vpm read dead code elimination. 2019-03-05 12:57:39 -08:00
vir_opt_redundant_flags.c v3d: fix checking twice auf flag 2019-06-13 11:45:18 +02:00
vir_opt_small_immediates.c v3d: Use ldunif instructions for uniforms. 2019-03-05 12:57:39 -08:00
vir_register_allocate.c broadcom/compiler: Allow spills of temporaries from TMU reads 2020-11-09 20:45:58 +00:00
vir_to_qpu.c v3d: Changed v3d_compile:failed to an enum 2020-07-24 12:27:07 +02:00