i965: Fix interpolateAtSample() on single sampled buffers.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 6 Apr 2016 05:32:45 +0000 (22:32 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 20 Apr 2016 23:18:47 +0000 (16:18 -0700)
commitd8c8f4203f8bb18152af0d0c120f3582a93c07c2
tree070cfd218e0cba5c3a36c13a58d8a3b12ab71ce6
parent447d3eec6a869200612e5010f47335cb26789a3a
i965: Fix interpolateAtSample() on single sampled buffers.

Fixes dEQP-GLES31.functional.shaders.multisample_interpolation tests:
- interpolate_at_sample.non_multisample_buffer.sample_n_default_framebuffer
- interpolate_at_sample.non_multisample_buffer.sample_n_singlesample_rbo
- interpolate_at_sample.non_multisample_buffer.sample_n_singlesample_texture

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