projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31bb851
)
radv/gfx9: for fast clear use is_linear flag.
author
Dave Airlie
<airlied@redhat.com>
Tue, 15 Aug 2017 05:28:09 +0000
(15:28 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 15 Aug 2017 20:27:30 +0000
(06:27 +1000)
The legacy test won't work on gfx9.
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Cc: "17.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_meta_clear.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_meta_clear.c
b/src/amd/vulkan/radv_meta_clear.c
index e3d823fb58aadeaf3aad911ef0fd3b775abcdb88..af76a517aafe4c212f74657518a90b99ce25574a 100644
(file)
--- a/
src/amd/vulkan/radv_meta_clear.c
+++ b/
src/amd/vulkan/radv_meta_clear.c
@@
-979,7
+979,7
@@
emit_fast_color_clear(struct radv_cmd_buffer *cmd_buffer,
if (iview->image->info.levels > 1)
goto fail;
- if (iview->image->surface.
u.legacy.level[0].mode < RADEON_SURF_MODE_1D
)
+ if (iview->image->surface.
is_linear
)
goto fail;
if (!radv_image_extent_compare(iview->image, &iview->extent))
goto fail;