mesa/src/freedreno/ir3
Andrey Konovalov ed2f496ce4 ir3: set local_size for shaders of MESA_SHADER_KERNEL type
ir3_compile_shader_nir() should set local_size[] and local_size_variable
fields not only for compute shaders, but for the OpenCL kernels too.

v2: use gl_shader_stage_is_compute() instead of explicit comparison with
    MESA_SHADER_[COMPUTE,KERNEL].

Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14863>
2022-03-18 23:20:25 +00:00
..
tests ir3: Refactor ir3_compiler_create() to take an options struct 2022-03-17 12:15:45 +00:00
.dir-locals.el ir3: Update .editorconfig and .dir-locals.el 2021-07-12 20:57:21 +00:00
.editorconfig ir3: Update .editorconfig and .dir-locals.el 2021-07-12 20:57:21 +00:00
disasm-a3xx.c ir3: Implement and document ldc.k 2022-03-17 12:15:45 +00:00
instr-a3xx.h ir3: Implement and document ldc.k 2022-03-17 12:15:45 +00:00
ir3.c ir3: Don't include preamble instructions in stats 2022-03-17 12:15:45 +00:00
ir3.h ir3: Implement and document ldc.k 2022-03-17 12:15:45 +00:00
ir3_a4xx.c freedreno/ir3: support a4xx in load/store buffer/image emission 2022-03-05 03:21:05 -05:00
ir3_a6xx.c freedreno/ir3: handle global atomics 2021-11-23 18:26:37 +00:00
ir3_array_to_ssa.c ir3: Reformat source with clang-format 2021-07-12 20:57:21 +00:00
ir3_assembler.c freedreno/computerator: Fix mergedregs 2021-10-19 16:04:42 +00:00
ir3_assembler.h a4xx/computerator: add initial backend 2021-09-10 01:20:22 +00:00
ir3_cf.c ir3: prohibit folding of half->full conversion into mul.s24/u24 2021-08-20 11:46:14 +00:00
ir3_compiler.c ir3, turnip: Use ldc.k to push UBOs 2022-03-17 12:15:45 +00:00
ir3_compiler.h ir3, turnip: Use ldc.k to push UBOs 2022-03-17 12:15:45 +00:00
ir3_compiler_nir.c ir3: set local_size for shaders of MESA_SHADER_KERNEL type 2022-03-18 23:20:25 +00:00
ir3_context.c freedreno/a4xx: extend astc and tg4 workarounds to compute shaders 2022-03-08 01:23:05 +00:00
ir3_context.h freedreno/a4xx: add swizzles to shader keys for tg4 workaround 2022-03-03 18:26:43 +00:00
ir3_cp.c freedreno/ir3: Don't try re-swapping cat3 srcs 2022-03-12 16:42:00 +00:00
ir3_cp_postsched.c ir3/cp_postsched: Support multiple destinations 2022-03-10 17:15:29 +00:00
ir3_cse.c ir3/cse: Support mov instructions 2021-10-20 15:19:15 +00:00
ir3_dce.c ir3/dce: Support multiple destinations 2022-03-10 17:15:29 +00:00
ir3_delay.c ir3: Use (ss) for instructions writing shared regs 2022-01-07 14:26:08 +00:00
ir3_disk_cache.c ir3: Add wavesize control 2022-01-10 10:58:28 +00:00
ir3_dominance.c ir3: Reformat source with clang-format 2021-07-12 20:57:21 +00:00
ir3_image.c freedreno/ir3: fix image-to-tex flags, remove 3d -> array hack 2021-11-16 00:33:31 +00:00
ir3_image.h ir3: Reformat source with clang-format 2021-07-12 20:57:21 +00:00
ir3_legalize.c ir3: Support prefetching with preambles 2022-03-17 12:15:45 +00:00
ir3_lexer.l ir3: Implement and document ldc.k 2022-03-17 12:15:45 +00:00
ir3_liveness.c freedreno/ir3: Cleanup liveness lifetime 2021-09-18 20:24:49 +00:00
ir3_lower_parallelcopy.c ir3/lower_pcopy: Fix bug with "illegal" copies and swaps 2021-11-19 16:59:54 +00:00
ir3_lower_spill.c ir3/lower_spill: Fix corner case with oob offsets 2022-03-15 21:36:38 +00:00
ir3_lower_subgroups.c ir3: Add support for subgroup arithmetic 2022-03-10 17:15:29 +00:00
ir3_merge_regs.c ir3: Initial support for spilling non-shared registers 2021-08-20 10:37:36 +00:00
ir3_nir.c ir3: Add preamble optimization pass 2022-03-17 12:15:45 +00:00
ir3_nir.h ir3: Add preamble optimization pass 2022-03-17 12:15:45 +00:00
ir3_nir_analyze_ubo_ranges.c ir3, turnip: Use ldc.k to push UBOs 2022-03-17 12:15:45 +00:00
ir3_nir_imul.py python: drop python2 support 2021-08-14 21:44:32 +00:00
ir3_nir_lower_64b.c freedreno/ir3: handle global atomics 2021-11-23 18:26:37 +00:00
ir3_nir_lower_io_offsets.c ir3: Use isam for bindless readonly ssbo loads 2022-03-15 21:36:38 +00:00
ir3_nir_lower_load_barycentric_at_offset.c ir3: Reformat source with clang-format 2021-07-12 20:57:21 +00:00
ir3_nir_lower_load_barycentric_at_sample.c ir3: Reformat source with clang-format 2021-07-12 20:57:21 +00:00
ir3_nir_lower_tess.c freedreno/ir3: set proper dst size for {store,load}_{global,shared}_ir3 2021-10-21 18:59:57 +00:00
ir3_nir_lower_tex_prefetch.c ir3: Support prefetching with preambles 2022-03-17 12:15:45 +00:00
ir3_nir_lower_wide_load_store.c freedreno/ir3: Add wide load/store lowering 2021-10-21 18:59:57 +00:00
ir3_nir_move_varying_inputs.c ir3: Reformat source with clang-format 2021-07-12 20:57:21 +00:00
ir3_nir_opt_preamble.c ir3: Add preamble optimization pass 2022-03-17 12:15:45 +00:00
ir3_nir_trig.py ir3: Make trig replacement expression exact 2021-09-17 15:45:29 +00:00
ir3_parser.y ir3: Implement and document ldc.k 2022-03-17 12:15:45 +00:00
ir3_postsched.c ir3/postsched: Rename tex/sfu to sy/ss 2022-01-07 14:26:08 +00:00
ir3_print.c ir3: Implement and document ldc.k 2022-03-17 12:15:45 +00:00
ir3_ra.c ir3/ra: Add IR3_REG_EARLY_CLOBBER 2022-03-10 17:15:29 +00:00
ir3_ra.h ir3/ra: Fix ra_foreach_dst_n 2022-03-10 17:15:29 +00:00
ir3_ra_validate.c ir3: Reformat source with clang-format 2021-07-12 20:57:21 +00:00
ir3_remove_unreachable.c ir3: Add pass to remove unreachable blocks 2021-08-20 10:37:36 +00:00
ir3_sched.c ir3/sched: Support multiple destinations 2022-03-10 17:15:29 +00:00
ir3_shader.c freedreno/a4xx: extend astc and tg4 workarounds to compute shaders 2022-03-08 01:23:05 +00:00
ir3_shader.h ir3: Add preamble optimization pass 2022-03-17 12:15:45 +00:00
ir3_spill.c ir3/spill: Mark reload destination as early-clobber 2022-03-10 17:15:29 +00:00
ir3_validate.c ir3: Implement and document ldc.k 2022-03-17 12:15:45 +00:00
meson.build ir3: Add preamble optimization pass 2022-03-17 12:15:45 +00:00