Revert "nir: bump loop unroll limit to 96."
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 6 Mar 2018 03:48:07 +0000 (14:48 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 7 Mar 2018 04:10:05 +0000 (15:10 +1100)
commit1fdb21541e78abeb28ba8dcbc747f5d9f199921b
tree74fbdf68262b625a046c9fca446bf0d89d94e265
parentfb077b072823ecb193f4494daeceddf0f21aede2
Revert "nir: bump loop unroll limit to 96."

This reverts commit 2d36efdb7f18f061c519dbb93f6058bf161aad33.

This raised limit turns out to harmful for more complex shaders,
it causes excessive spilling in some Bioshock Infinite shaders.

The fps for the ssao demo on radv remains unchanged when reverting
this.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/compiler/nir/nir_opt_loop_unroll.c