OSDN Git Service

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)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 1 Sep 2016 10:39:43 +0000 (11:39 +0100)
commit951b508e4421b614a597db01dbae2abf82f4ab08
tree9409a873ff86a848285a4b1a04afa9492f8380d2
parent47b72990fedeea6358be841f7b8f679a06c33ed9
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>
(cherry picked from commit d14dd727f4aded5bd34a78dc2c81374a78114440)
src/mesa/drivers/dri/i965/brw_fs_nir.cpp