mesa merge requestshttps://gitlab.freedesktop.org/GL/mesa/-/merge_requests2019-07-17T14:15:31Zhttps://gitlab.freedesktop.org/GL/mesa/-/merge_requests/11nir/loop_unroll: Do not unroll huge loops2019-07-17T14:15:31ZDanylo Piliaievnir/loop_unroll: Do not unroll huge loopsEven force loop unroll should have some limits because
it may want to unroll truly huge loop and make
resulting native code exceed limits leading to crash.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111120
Fixes dEQP-VK.sp...Even force loop unroll should have some limits because
it may want to unroll truly huge loop and make
resulting native code exceed limits leading to crash.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111120
Fixes dEQP-VK.spirv_assembly.instruction.graphics.spirv_ids_abuse.lots_ids_*
Fixes: 51daccb2 ("nir: add a loop unrolling pass")https://gitlab.freedesktop.org/GL/mesa/-/merge_requests/20nir: Add NIR debug passes and MESA_NIR_DBG env variable to enable them2020-01-17T12:47:39ZDanylo Piliaievnir: Add NIR debug passes and MESA_NIR_DBG env variable to enable themThe idea is to have a collection of NIR passes which would help in
debugging common issues with shaders.
Passes:
- nir_dbg_init_undef - initializes all undefined SSAs, currently
initializes them to zero. Helps in debugging of visual c...The idea is to have a collection of NIR passes which would help in
debugging common issues with shaders.
Passes:
- nir_dbg_init_undef - initializes all undefined SSAs, currently
initializes them to zero. Helps in debugging of visual corruptions.
- nir_dbg_restrain_loops - adds upper bound to all loops.
Helps to find out if shader hangs due to some infinite loop.
Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>https://gitlab.freedesktop.org/GL/mesa/-/merge_requests/27st/nir: Keep stages inputs/outputs unified after nir_shader_gather_info2021-04-16T13:31:16ZYevhenii Kharchenkost/nir: Keep stages inputs/outputs unified after nir_shader_gather_info'nir_shader_gather_info' call added to 'st_create_vp_variant' function
in 8a0dd0af, and used for non-VS shader stages since 6864ff35, to
consider added varyings, after possible lowerings applied.
This overwrites 'inputs_read' after they...'nir_shader_gather_info' call added to 'st_create_vp_variant' function
in 8a0dd0af, and used for non-VS shader stages since 6864ff35, to
consider added varyings, after possible lowerings applied.
This overwrites 'inputs_read' after they were already unified with
outputs of previous stage.
Fix this by unifying inputs/outputs of each stage once again.
Fixes:
Closes:
Signed-off-by: Yevhenii Kharchenko <yevhenii.kharchenko@globallogic.com>Yevhenii KharchenkoYevhenii Kharchenko