intel/fs: roll the loop with the <0,1,0> additions in emit_scan()
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Sat, 24 Aug 2019 00:15:27 +0000 (17:15 -0700)
committerJason Ekstrand <jason@jlekstrand.net>
Thu, 19 Sep 2019 02:47:17 +0000 (02:47 +0000)
commitcebf447d167b89f017382810d4ac1f43bca3c4d6
treed3fdd060a044d8ebf97f3a1f04d20c2334fb5d6f
parentd9ddf5076d13ccfdc0ef690ed64f9fabfc0b313a
intel/fs: roll the loop with the <0,1,0> additions in emit_scan()

IMHO the code is easier to understand this way, being explicit that
we're doing exactly the same thing every time.

No functional changes.

v2: Adjust the loop breaking condition (Jason).

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
src/intel/compiler/brw_fs_builder.h