mesa/src/broadcom/compiler
Alejandro Piñeiro 452421dfe5 v3dv: no specific separate_segments flag for V3D 7.1
On V3D 7.1 there is not a flag on the Shader State Record to specify
if we are using shared or separate segments. This is done by setting
the vpm input size to 0 (so we need to ensure that the output would be
the max needed for input/output).

We were already doing the latter on the prog_data_vs, so we just need
to use those values, instead of assigning default values.

As we are here, we also add some comments on the compiler part.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25450>
2023-10-13 22:37:43 +00:00
..
meson.build broadcom/compiler: Remove v3d_nir_lower_robust_access 2023-06-29 22:36:50 +00:00
nir_to_vir.c broadcom/compiler: generalize check for shaders using pixel center W 2023-10-13 22:37:42 +00:00
qpu_schedule.c v3dv: no specific separate_segments flag for V3D 7.1 2023-10-13 22:37:43 +00:00
qpu_validate.c broadcom/compiler: update thread end restrictions validation for v71 2023-10-13 22:37:43 +00:00
v3d33_tex.c nir: Drop nir_dest 2023-08-14 21:22:53 +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 nir: Drop nir_dest 2023-08-14 21:22:53 +00:00
v3d_compiler.h broadcom/compiler: don't assign registers to unused nodes/temps 2023-10-13 22:37:42 +00:00
v3d_nir_lower_image_load_store.c treewide: Drop nir_ssa_for_src users 2023-09-18 10:25:17 -04:00
v3d_nir_lower_io.c broadcom/compiler: v71 isn't affected by double-rounding of viewport X,Y coords 2023-10-13 22:37:42 +00:00
v3d_nir_lower_line_smooth.c treewide: Use nir_before/after_impl for more elaborate cases 2023-08-30 19:30:58 +00:00
v3d_nir_lower_load_store_bitsize.c treewide: Drop nir_ssa_for_src users 2023-09-18 10:25:17 -04:00
v3d_nir_lower_logic_ops.c nir: Drop most uses if nir_instr_rewrite_src() 2023-08-18 01:00:15 +00:00
v3d_nir_lower_scratch.c treewide: Drop nir_ssa_for_src users 2023-09-18 10:25:17 -04:00
v3d_nir_lower_txf_ms.c nir: Take a nir_def * in nir_tex_instr_add_src() 2023-08-18 01:00:14 +00:00
vir.c v3dv: no specific separate_segments flag for V3D 7.1 2023-10-13 22:37:43 +00:00
vir_dump.c broadcom/qpu: define v3d_qpu_input, use on v3d_qpu_alu_instr 2023-10-13 22:37:41 +00:00
vir_live_variables.c broadcom/compiler: update payload registers handling when computing live intervals 2023-10-13 22:37:42 +00:00
vir_opt_constant_alu.c v3dv/v3d: Fix copyright holder to Raspberry Pi Ltd 2022-02-18 11:50:07 +01:00
vir_opt_copy_propagate.c broadcom/compiler: fix up copy propagation for v71 2023-10-13 22:37:42 +00:00
vir_opt_dead_code.c broadcom/compiler: make opt passes set current block 2021-11-02 11:17:01 +00:00
vir_opt_redundant_flags.c broadcom/qpu: define v3d_qpu_input, use on v3d_qpu_alu_instr 2023-10-13 22:37:41 +00:00
vir_opt_small_immediates.c broadcom/compiler: implement small immediates for v71 2023-10-13 22:37:42 +00:00
vir_register_allocate.c broadcom/compiler: only assign rf0 as last resort in V3D 7.x 2023-10-13 22:37:42 +00:00
vir_to_qpu.c broadcom/compiler: implement small immediates for v71 2023-10-13 22:37:42 +00:00