i965: Fix barrier count shift in scalar TCS backend.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 17 Aug 2016 13:35:01 +0000 (06:35 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 18 Aug 2016 07:47:00 +0000 (00:47 -0700)
commitd14dd727f4aded5bd34a78dc2c81374a78114440
treecb944989fa1956670734067c3d8a9e91d1fc2c22
parent159f0377556c45630cdc0721b193f34217a329b0
i965: Fix barrier count shift in scalar TCS backend.

The "Barrier Count" field goes in 14:9 of m0.2.  The vec4 backend
correctly shifts by 9, but the scalar backend only shifted by 8.

It's not like this changed - I think I just made a typo when writing
the original scalar TCS backend code.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp