summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorNeil Roberts <neil@linux.intel.com>2015-11-16 14:03:11 +0100
committerNeil Roberts <neil@linux.intel.com>2015-11-18 10:29:07 +0100
commit5dfb4dbc0583d2593e36f7eb27c77b81680db848 (patch)
treef15b16152039209f90931aa28620ece25a3270b5 /src/gallium/auxiliary
parentdd05ffebfcb5d2e7ca44def1907aa2fbadd5e19d (diff)
downloadexternal_mesa3d-5dfb4dbc0583d2593e36f7eb27c77b81680db848.zip
external_mesa3d-5dfb4dbc0583d2593e36f7eb27c77b81680db848.tar.gz
external_mesa3d-5dfb4dbc0583d2593e36f7eb27c77b81680db848.tar.bz2
i965: Prevent fast clears for MSRTs on SKL
There are currently a bunch of formats that behave strangely when sampling the cleared color from the MCS buffer on SKL. They seem to mostly be formats that don't have an alpha component, although it's not all of them, and we haven't yet found anything in the specs which would explain this. For now to be on the safe side this patch just prevents fast clears for MSRTs on SKL altogether so that when fast clears are eventually enabled it will only be for single-sampled surfaces. The assumption is that clears are probably more likely to be used in single-sampled applications anyway so we can at least get them working and we can enable MSRTs later once we understand the problem better. This patch should have no functional effect other than perhaps receiving fewer perf_debug messages on SKL+. v2: Improve the commit message to avoid saying the patch disables fast clears because it will be merged before fast clears are enabled for any surfaces so it doesn't actually disable anything. Reviewed-by: Ben Widawsky <benjamin.widawsky@intel.com> Reviewed-by: Chad Versace <chad.versace@intel.com>
Diffstat (limited to 'src/gallium/auxiliary')
0 files changed, 0 insertions, 0 deletions