Module: Mesa Branch: master Commit: 4f060549be47863d49ef6c8c6f5ca9016c13fb7b URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f060549be47863d49ef6c8c6f5ca9016c13fb7b
Author: Rob Clark <[email protected]> Date: Mon Jul 20 11:14:18 2020 -0700 freedreno/ir3: lower local_index using local_id Somehow this works ok with the full compiler stack, but not in ir3_cmdline. Signed-off-by: Rob Clark <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6189> --- src/freedreno/ir3/ir3_nir.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/freedreno/ir3/ir3_nir.c b/src/freedreno/ir3/ir3_nir.c index dc707545bbb..7b373dff242 100644 --- a/src/freedreno/ir3/ir3_nir.c +++ b/src/freedreno/ir3/ir3_nir.c @@ -71,6 +71,7 @@ static const nir_shader_compiler_options options = { .lower_to_scalar = true, .has_imul24 = true, .lower_wpos_pntc = true, + .lower_cs_local_index_from_id = true, /* Only needed for the spirv_to_nir() pass done in ir3_cmdline.c * but that should be harmless for GL since 64b is not @@ -121,6 +122,7 @@ static const nir_shader_compiler_options options_a6xx = { .has_imul24 = true, .max_unroll_iterations = 32, .lower_wpos_pntc = true, + .lower_cs_local_index_from_id = true, /* Only needed for the spirv_to_nir() pass done in ir3_cmdline.c * but that should be harmless for GL since 64b is not _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
