projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f622ab8
)
radv: do not try to set DCC_CONTROL when image doesn't use DCC
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Fri, 28 Sep 2018 12:35:52 +0000
(14:35 +0200)
committer
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Mon, 1 Oct 2018 10:13:12 +0000
(12:13 +0200)
Unnecessary. While we are at it, remove the check for pre-VI
because it's already checked earlier.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_device.c
b/src/amd/vulkan/radv_device.c
index f7752eac83b4adf3e7c9cdc25fba98a04eddcc5c..3e0d75bb1b6653ed2753e750fd37d96a98376a1b 100644
(file)
--- a/
src/amd/vulkan/radv_device.c
+++ b/
src/amd/vulkan/radv_device.c
@@
-3901,7
+3901,7
@@
radv_init_dcc_control_reg(struct radv_device *device,
unsigned max_compressed_block_size;
unsigned independent_64b_blocks;
- if (
device->physical_device->rad_info.chip_class < VI
)
+ if (
!radv_image_has_dcc(iview->image)
)
return 0;
if (iview->image->info.samples > 1) {