i965/fs: Force per-sample dispatch if the shader reads from a multisample FBO.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 21 Jul 2016 23:20:07 +0000 (16:20 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 26 Aug 2016 01:36:06 +0000 (18:36 -0700)
commit98d61ee083de57da6b97c9fcf67003f56f5f5a6b
treefbcb23ed8fe4c120e092ff7984d1494c9a715096
parent08705badfe136e1782e10472104323d861185357
i965/fs: Force per-sample dispatch if the shader reads from a multisample FBO.

The result of a framebuffer fetch from a multisample FBO is inherently
per-sample, so the spec requires at least those sections of the shader
that depend on the framebuffer fetch result to be executed once per
sample.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp