diff options
author | Bas Nieuwenhuizen <[email protected]> | 2017-03-07 00:58:04 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2017-03-07 09:58:27 +0100 |
commit | 3b455c1cb740c0357a0e748114b2c3b03d2dc4e2 (patch) | |
tree | 417315e710cc6a9e15588f6cd1526ba340b6a02b /src/amd/vulkan/radv_meta_decompress.c | |
parent | dbecbab5aa6fec9d90089ff5e16bc74339edb955 (diff) |
radv: Use winsys HTILE info.
Signed-off-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_meta_decompress.c')
-rw-r--r-- | src/amd/vulkan/radv_meta_decompress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_meta_decompress.c b/src/amd/vulkan/radv_meta_decompress.c index 53443e9eb88..2ee27d40970 100644 --- a/src/amd/vulkan/radv_meta_decompress.c +++ b/src/amd/vulkan/radv_meta_decompress.c @@ -376,7 +376,7 @@ static void radv_process_depth_image_inplace(struct radv_cmd_buffer *cmd_buffer, uint32_t height = radv_minify(image->extent.height, subresourceRange->baseMipLevel); - if (!image->htile.size) + if (!image->surface.htile_size) return; radv_meta_save_pass(&saved_pass_state, cmd_buffer); |