mesa/src/compiler/spirv
Alyssa Rosenzweig 25cc04c59b treewide: Use nir_before/after_impl in easy cases
These open-code the same idiom as the helper.

Via Coccinelle patch:

    @@
    expression func_impl;
    @@

    -nir_before_cf_list(&func_impl->body)
    +nir_before_impl(func_impl)

    @@
    expression func_impl;
    @@

    -nir_after_cf_list(&func_impl->body)
    +nir_after_impl(func_impl)

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24910>
2023-08-30 19:30:58 +00:00
..
tests nir: Rename scoped_barrier -> barrier 2023-08-01 23:18:29 +00:00
gl_spirv.c mesa/spirv: Provide more specific error message for glSpecializeShader() 2023-05-22 15:26:40 +00:00
GLSL.ext.AMD.h spirv: Update headers and grammer JSON 2023-08-18 16:57:22 +00:00
GLSL.std.450.h
meson.build compiler: Move spirv into a module of its own 2023-06-20 16:18:08 +00:00
nir_spirv.h spirv: Implement SPV_AMDX_shader_enqueue 2023-08-18 16:57:22 +00:00
OpenCL.std.h spirv: Update the OpenCL.std.h header 2019-06-04 12:12:51 -07:00
spir-v.xml spirv: Update headers and metadata to SPIR-V 1.6, revision 1 2021-12-17 16:37:14 -08:00
spirv.core.grammar.json spirv: Update headers and grammer JSON 2023-08-18 16:57:22 +00:00
spirv.h spirv: Update headers and grammer JSON 2023-08-18 16:57:22 +00:00
spirv2nir.c spirv: Use NIR_PASS for spirv2nir --optimize 2023-05-11 19:53:17 +00:00
spirv_info.h spirv: vtn_fail with a nice message on unsupported rounding modes 2020-09-25 01:43:28 +00:00
spirv_info_c.py spirv: vtn_fail with a nice message on unsupported rounding modes 2020-09-25 01:43:28 +00:00
spirv_to_nir.c treewide: Use nir_before/after_impl in easy cases 2023-08-30 19:30:58 +00:00
vtn_alu.c nir: Drop "SSA" from NIR language 2023-08-12 16:44:41 -04:00
vtn_amd.c nir: Drop nir_dest 2023-08-14 21:22:53 +00:00
vtn_cfg.c treewide: Use nir_before/after_impl in easy cases 2023-08-30 19:30:58 +00:00
vtn_gather_types_c.py vulkan: Spec update to 1.3.216 2022-06-08 20:20:21 +00:00
vtn_generator_ids_h.py android: fix SPIR-V -> NIR build 2020-10-12 22:26:05 +00:00
vtn_glsl450.c nir: Drop nir_dest 2023-08-14 21:22:53 +00:00
vtn_opencl.c nir: Drop nir_dest 2023-08-14 21:22:53 +00:00
vtn_private.h spirv: Implement SPV_AMDX_shader_enqueue 2023-08-18 16:57:22 +00:00
vtn_structured_cfg.c nir: Drop "SSA" from NIR language 2023-08-12 16:44:41 -04:00
vtn_subgroup.c nir: Drop nir_dest 2023-08-14 21:22:53 +00:00
vtn_variables.c spirv: Implement SPV_AMDX_shader_enqueue 2023-08-18 16:57:22 +00:00