i965: Flip interpolateAtOffset's y offset when necessary.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 13 May 2016 01:53:23 +0000 (18:53 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 16 May 2016 06:50:52 +0000 (23:50 -0700)
commitc907ca6c8d256f4b8c271bcf0901661ef943ae08
tree607678dcc4b8510a9702d4196ad9bf6c2d26ccbe
parent6d65b0c6dc0ef4fad319129fea5fd7b4ad940bec
i965: Flip interpolateAtOffset's y offset when necessary.

Fixes 4 dEQP-GLES31.functional.shaders.multisample_interpolation tests:
- interpolate_at_offset.no_qualifiers.default_framebuffer
- interpolate_at_offset.centroid_qualifier.default_framebuffer
- interpolate_at_offset.sample_qualifier.default_framebuffer
- interpolate_at_offset.array_element.default_framebuffer

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp
src/mesa/drivers/dri/i965/brw_wm.c