i965: Unroll SIMD16 DDY_FINE on Sandybridge.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 29 Mar 2016 08:32:52 +0000 (01:32 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 25 Apr 2016 20:13:00 +0000 (13:13 -0700)
commit21b4bcdd05eabe94feb1a17bbb96f55d26eabe6e
treeaf81f66295666e029957ab388fde94d57e234856
parente915903c10fed378ad6bdb4b3850e8fe8515158d
i965: Unroll SIMD16 DDY_FINE on Sandybridge.

This fixes 10 dEQP-GLES3 subtests:
dEQP-GLES3.functional.shaders.derivate.dfdy.texture.float_nicest.*.

Matt noticed that our Piglit tests for this use even numbered registers,
while the failing dEQP tests use odd numbered registers.  We believe
that it works for even numbered registers, but not otherwise.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs_generator.cpp