aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_eu.c
diff options
context:
space:
mode:
authorChris Forbes <[email protected]>2013-01-24 20:05:09 +1300
committerChris Forbes <[email protected]>2013-03-02 11:39:42 +1300
commit555dc6d74de76becac30289c6da0205489057a21 (patch)
tree2ff4bb41b558b54f72aae3c621bfbf0df3db924d /src/mesa/drivers/dri/i965/brw_eu.c
parent8cc26ae9937685438d1554463e0ba69972ec26cf (diff)
i965: take the target into account for Gen7 MSAA modes
Gen7 has an erratum affecting the ld_mcs message, making it unsafe to use when the surface doesn't have an associated MCS. From the Ivy Bridge PRM, Vol4 Part1 p77 ("MCS Enable"): "If this field is disabled and the sampling engine <ld_mcs> message is issued on this surface, the MCS surface may be accessed. Software must ensure that the surface is defined to avoid GTT errors." To allow the shader to treat all surfaces uniformly, force UMS if the surface is to be used as a multisample texture, even if CMS would have been possible. V3: - Quoted erratum text Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_eu.c')
0 files changed, 0 insertions, 0 deletions