projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0994815
)
anv/blorp: Handle ISL_AUX_USAGE_HIZ
author
Nanley Chery
<nanley.g.chery@intel.com>
Sat, 7 Jan 2017 23:47:36 +0000
(15:47 -0800)
committer
Nanley Chery
<nanley.g.chery@intel.com>
Fri, 13 Jan 2017 04:52:19 +0000
(20:52 -0800)
Prevent assert failures that would occur in the next patch.
v2: Don't remove asserts from blorp/blit (Jason Ekstrand)
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_blorp.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_blorp.c
b/src/intel/vulkan/anv_blorp.c
index b431d6af485a0a685a7958f15cdece5a984aa476..7e157b4d266ecf7c91f91b3a444ca984951fb95b 100644
(file)
--- a/
src/intel/vulkan/anv_blorp.c
+++ b/
src/intel/vulkan/anv_blorp.c
@@
-172,7
+172,8
@@
get_blorp_surf_for_anv_image(const struct anv_image *image,
enum isl_aux_usage aux_usage,
struct blorp_surf *blorp_surf)
{
- if (aspect == VK_IMAGE_ASPECT_STENCIL_BIT)
+ if (aspect == VK_IMAGE_ASPECT_STENCIL_BIT ||
+ aux_usage == ISL_AUX_USAGE_HIZ)
aux_usage = ISL_AUX_USAGE_NONE;
const struct anv_surface *surface =