diff options
author | Samuel Pitoiset <[email protected]> | 2018-12-17 21:23:42 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-12-20 18:01:15 +0100 |
commit | fa16da53d83448df91c7ecab05f721b06fe215bc (patch) | |
tree | 02a6461f51d6e16911468d17c56056400a934283 /src/amd/vulkan/radv_meta.h | |
parent | 65d82c84d2902cc4ef4db8670e059f7449e550bd (diff) |
radv: initialize FMASK for images in fully expanded mode
The value depends on the number of samples.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_meta.h')
-rw-r--r-- | src/amd/vulkan/radv_meta.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_meta.h b/src/amd/vulkan/radv_meta.h index f8d48f4d791..22f7ae7490a 100644 --- a/src/amd/vulkan/radv_meta.h +++ b/src/amd/vulkan/radv_meta.h @@ -201,6 +201,8 @@ void radv_decompress_resolve_src(struct radv_cmd_buffer *cmd_buffer, uint32_t radv_clear_cmask(struct radv_cmd_buffer *cmd_buffer, struct radv_image *image, uint32_t value); +uint32_t radv_clear_fmask(struct radv_cmd_buffer *cmd_buffer, + struct radv_image *image, uint32_t value); uint32_t radv_clear_dcc(struct radv_cmd_buffer *cmd_buffer, struct radv_image *image, uint32_t value); |