r600: switch to NIR loop unrolling
Note the NIR unrolling code was already enabled but we bump the iteration unroll count to match the GLSL IR limit as per the comment about loop bugs. Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16543>
This commit is contained in:

committed by
Marge Bot

parent
dc2edb8f1d
commit
b84e003079
@@ -1339,7 +1339,11 @@ bool r600_common_screen_init(struct r600_common_screen *rscreen,
|
||||
.lower_insert_byte = true,
|
||||
.lower_insert_word = true,
|
||||
.lower_rotate = true,
|
||||
.max_unroll_iterations = 32,
|
||||
/* due to a bug in the shader compiler, some loops hang
|
||||
* if they are not unrolled, see:
|
||||
* https://bugs.freedesktop.org/show_bug.cgi?id=86720
|
||||
*/
|
||||
.max_unroll_iterations = 255,
|
||||
.lower_interpolate_at = true,
|
||||
.vectorize_io = true,
|
||||
.has_umad24 = true,
|
||||
|
Reference in New Issue
Block a user