Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joshua Ashton
mesa
Commits
d081af00
Unverified
Commit
d081af00
authored
Oct 01, 2021
by
Joshua Ashton
🐸
Browse files
radv: blah mirror image stores
parent
3a3ad4d5
Pipeline
#414293
waiting for manual action with stages
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/amd/vulkan/radv_image.c
View file @
d081af00
...
...
@@ -304,9 +304,12 @@ radv_image_use_dcc_image_stores(const struct radv_device *device, const struct r
* The same limitations apply to SDMA compressed stores because
* SDMA uses the same DCC codec.
*/
return
!
image
->
planes
[
0
].
surface
.
u
.
gfx9
.
color
.
dcc
.
independent_64B_blocks
&&
image
->
planes
[
0
].
surface
.
u
.
gfx9
.
color
.
dcc
.
independent_128B_blocks
&&
image
->
planes
[
0
].
surface
.
u
.
gfx9
.
color
.
dcc
.
max_compressed_block_size
==
V_028C78_MAX_BLOCK_SIZE_128B
;
return
(
!
image
->
planes
[
0
].
surface
.
u
.
gfx9
.
color
.
dcc
.
independent_64B_blocks
&&
image
->
planes
[
0
].
surface
.
u
.
gfx9
.
color
.
dcc
.
independent_128B_blocks
&&
image
->
planes
[
0
].
surface
.
u
.
gfx9
.
color
.
dcc
.
max_compressed_block_size
==
V_028C78_MAX_BLOCK_SIZE_128B
)
||
(
image
->
planes
[
0
].
surface
.
u
.
gfx9
.
color
.
dcc
.
independent_64B_blocks
&&
image
->
planes
[
0
].
surface
.
u
.
gfx9
.
color
.
dcc
.
independent_128B_blocks
&&
image
->
planes
[
0
].
surface
.
u
.
gfx9
.
color
.
dcc
.
max_compressed_block_size
==
V_028C78_MAX_BLOCK_SIZE_64B
);
}
/*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment