nak: Enable loop unrolling.

This brings The Talos Principle from 9 to 18 fps on my machine.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26626>
This commit is contained in:
M Henning 2023-11-23 14:57:42 -05:00 committed by Marge Bot
parent e87cca7717
commit 9d162de9a0

View file

@ -121,6 +121,7 @@ fn nir_options(dev: &nv_device_info) -> nir_shader_compiler_options {
op.has_sdot_4x8 = dev.sm >= 70;
op.has_udot_4x8 = dev.sm >= 70;
op.has_sudot_4x8 = dev.sm >= 70;
op.max_unroll_iterations = 32;
op
}