r300: tweak nir loop unrolling hint for r500 vertex shaders
This should prevent some cxbx-r shaders from unrolling above the instruction limit and results in 3 gained cxbx-r shaders on RV530 with no other changes in shader-db. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5967 Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com> Reviewed-by: Filip Gawin <filip@gawin.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19702>
This commit is contained in:

committed by
Marge Bot

parent
6ac678df43
commit
51457b19ce
@@ -516,7 +516,7 @@ static const nir_shader_compiler_options r500_vs_compiler_options = {
|
||||
/* Have HW loops support and 1024 max instr count, but don't unroll *too*
|
||||
* hard.
|
||||
*/
|
||||
.max_unroll_iterations = 32,
|
||||
.max_unroll_iterations = 29,
|
||||
};
|
||||
|
||||
static const nir_shader_compiler_options r500_fs_compiler_options = {
|
||||
|
Reference in New Issue
Block a user