mesa/src/freedreno/ir3
Jonathan Marek 9c23afebbe freedreno/ir3: fix setup_input for sparse vertex inputs
With turnip we can have sparse input variables like:

decl_var shader_in INTERP_MODE_NONE float @1 (VERT_ATTRIB_GENERIC1.x, 1, 0)
decl_var shader_in INTERP_MODE_NONE float @2 (VERT_ATTRIB_GENERIC1.y, 1, 0)
decl_var shader_in INTERP_MODE_NONE float @3 (VERT_ATTRIB_GENERIC1.w, 1, 0)

Example of a test fixed:

dEQP-VK.glsl.440.linkage.varying.component.vert_in.vec2.as_float_float_unused

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5818>
2020-07-09 23:30:33 +00:00
..
tests ir3: Include ir3_compiler from ir3_shader 2020-06-26 09:34:33 +00:00
disasm-a3xx.c freedreno/ir3: add debug code to print conflicting half-regs 2020-06-11 21:59:54 +00:00
instr-a3xx.h freedreno: Set the immediate flag in a4/a5xx resinfos. 2020-05-26 18:17:46 +00:00
ir3.c ir3: Include ir3_compiler from ir3_shader 2020-06-26 09:34:33 +00:00
ir3.h freedreno/ir3: pass variant to ir3_create() 2020-06-19 13:16:57 +00:00
ir3_a4xx.c freedreno/ir3: add accessor for const_state 2020-06-19 13:16:57 +00:00
ir3_a6xx.c freedreno/ir3: fix resinfo wrmask 2020-06-28 16:32:08 +00:00
ir3_assembler.c ir3: Include ir3_compiler from ir3_shader 2020-06-26 09:34:33 +00:00
ir3_assembler.h freedreno/ir3: refactor out helper to compile shader from asm 2020-06-19 13:16:57 +00:00
ir3_cf.c freedreno/ir3: add helpers to deal with src/dst types 2020-05-19 16:06:17 +00:00
ir3_compiler.c freedreno/ir3: add support for a650 tess shared storage 2020-07-08 02:30:23 +00:00
ir3_compiler.h freedreno/ir3: add support for a650 tess shared storage 2020-07-08 02:30:23 +00:00
ir3_compiler_nir.c freedreno/ir3: fix setup_input for sparse vertex inputs 2020-07-09 23:30:33 +00:00
ir3_context.c ir3: Split out variant-specific lowering and optimizations 2020-06-19 13:16:57 +00:00
ir3_context.h freedreno/ir3: add generic get_barycentric() 2020-07-01 13:52:59 +00:00
ir3_cp.c ir3: Support variants with different constlen's 2020-06-26 09:34:33 +00:00
ir3_cp_postsched.c freedreno/ir3: add post-scheduler cp pass 2020-06-16 20:56:15 +00:00
ir3_dce.c freedreno/ir3: make input/output iterators declare cursor ptr 2020-05-19 16:06:17 +00:00
ir3_delay.c freedreno/ir3/delay: calculate delay properly for (rptN)'d instructions 2020-06-16 20:56:15 +00:00
ir3_disk_cache.c freedreno/ir3: disk-cache support 2020-06-26 08:55:19 -07:00
ir3_group.c freedreno/ir3: add helpers to move instructions 2020-06-16 20:56:15 +00:00
ir3_image.c freedreno/ir3: Refactor out IBO source references. 2020-05-26 18:17:46 +00:00
ir3_image.h freedreno/ir3: Refactor out IBO source references. 2020-05-26 18:17:46 +00:00
ir3_legalize.c ir3: Include ir3_compiler from ir3_shader 2020-06-26 09:34:33 +00:00
ir3_lexer.l freedreno/ir3: Parse, but ignore @in, @out and @tex headers 2020-04-25 00:03:43 +00:00
ir3_nir.c freedreno/ir3: add support for a650 tess shared storage 2020-07-08 02:30:23 +00:00
ir3_nir.h freedreno/ir3: add support for a650 tess shared storage 2020-07-08 02:30:23 +00:00
ir3_nir_analyze_ubo_ranges.c ir3: Support variants with different constlen's 2020-06-26 09:34:33 +00:00
ir3_nir_imul.py freedreno/ir3: add rule to generate imad24 2019-10-18 15:08:54 -07:00
ir3_nir_lower_io_offsets.c nir: add helper to copy const_index[] 2020-05-13 20:24:45 -07:00
ir3_nir_lower_load_barycentric_at_offset.c freedreno/ir3: don't rely on intr->num_components 2020-06-16 02:48:18 +00:00
ir3_nir_lower_load_barycentric_at_sample.c freedreno/ir3: don't rely on intr->num_components 2020-06-16 02:48:18 +00:00
ir3_nir_lower_tess.c freedreno/ir3: add support for a650 tess shared storage 2020-07-08 02:30:23 +00:00
ir3_nir_lower_tex_prefetch.c freedreno/ir3: respect tex prefetch limits 2020-06-11 21:59:54 +00:00
ir3_nir_lower_tg4_to_tex.c freedreno: Convert nir_lower_tg4_to_tex to the NIR lowering helper. 2019-07-18 11:28:56 -07:00
ir3_nir_move_varying_inputs.c freedreno/ir3: fix ir3_nir_move_varying_inputs 2020-06-14 17:53:47 +00:00
ir3_nir_trig.py freedreno/ir3: Disable sin/cos range reduction for mediump. 2020-05-05 17:23:34 +00:00
ir3_parser.y freedreno/ir3: un-embed const_state 2020-06-19 13:16:57 +00:00
ir3_postsched.c freedreno/ir3: make mergedregs a property of the variant 2020-06-18 02:46:28 +00:00
ir3_print.c freedreno/ir3/print: print (r) flag 2020-06-16 20:56:15 +00:00
ir3_ra.c ir3: Include ir3_compiler from ir3_shader 2020-06-26 09:34:33 +00:00
ir3_ra.h freedreno/ir3: limit pre-fetched tex dest 2020-06-11 21:59:54 +00:00
ir3_ra_regset.c freedreno/ir3: decouple regset from gpu gen 2020-06-18 02:46:28 +00:00
ir3_sched.c freedreno/sched: reset delay counters at start of block 2020-06-16 20:56:15 +00:00
ir3_shader.c ir3: Add layer_zero variant bit 2020-07-07 08:10:47 +00:00
ir3_shader.h ir3: Add layer_zero variant bit 2020-07-07 08:10:47 +00:00
ir3_validate.c freedreno/ir3/validate: also check instr->address 2020-06-16 20:56:15 +00:00
meson.build freedreno/ir3: disk-cache support 2020-06-26 08:55:19 -07:00