summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_shader.h
diff options
context:
space:
mode:
authorChad Versace <chad.versace@intel.com>2015-10-01 08:06:35 -0700
committerChad Versace <chad.versace@intel.com>2015-10-05 11:14:04 -0700
commit93161be9e7150ae5931000627833e714901cf195 (patch)
tree7f067a062a45478a72e96b6eec1160849716c33e /src/mesa/drivers/dri/i965/brw_shader.h
parent125a04b474d4a07fec892e00fd56340e7d4ab03b (diff)
i965: Fix intel_miptree_is_fast_clear_capable()skl-fast-clear-v08.00
There are three types of fast clears: a. fast depth clears b. fast singlesample color clears c. fast multisample color clears Function intel_miptree_is_fast_clear_capable() checks if a miptree supports fast clears of type (b). Rename the function to disambiguate what it does: old: intel_miptree_is_fast_clear_capable new: intel_miptree_supports_non_msrt_fast_clear The functionally accidentally rejected multisampled color surfaces because it thought they were singlesample array surfaces. Fix that by explicitly rejecting surfaces with samples > 1. This fix would have been needed before we enabled layered fast singlesample color clears (introduced in gen8), which we want to do eventually. For now, though, this patch changes no behavior; it just fixes how the driver chooses its behavior. Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_shader.h')
0 files changed, 0 insertions, 0 deletions