summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/cayman_msaa.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-01-05 01:53:57 -0800
committerKenneth Graunke <[email protected]>2016-02-09 14:54:26 -0800
commit830b075e86e3e9af1bf12316d0f9d888a85a973b (patch)
tree409955666698a2186cc17c4a80065902957580bb /src/gallium/drivers/radeon/cayman_msaa.c
parent8b0fb1c152fe191768953aa8c77b89034a377f83 (diff)
i965: Explicitly write the "TR DS Cache Disable" bit at TCS EOT.
Bit 0 of the Patch Header is "TR DS Cache Disable". Setting that bit disables the DS Cache for tessellator-output topologies resulting in stitch-transition regions (but leaves it enabled for other cases). We probably shouldn't leave this to chance - the URB could contain garbage - which could result in the cache randomly being turned on or off. This patch makes the final EOT write 0 to the first DWord (which only contains this one bit). This ensures the cache is always on. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/cayman_msaa.c')
0 files changed, 0 insertions, 0 deletions