radv: Revert HTILE reset word to 0xFFFFFFFF.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 30 May 2017 21:02:07 +0000 (23:02 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 31 May 2017 21:55:13 +0000 (23:55 +0200)
0x30f regressed mad max.

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Fixes: df91abfe5af "radv: Use correct clear words for HTILE."
src/amd/vulkan/radv_cmd_buffer.c

index 66610e5233fd4fdd54ed97f2b8fdf34b40487567..2ed93564b96a070dc04c5cfd19564135f5a56eb3 100644 (file)
@@ -3030,7 +3030,7 @@ static void radv_handle_depth_image_transition(struct radv_cmd_buffer *cmd_buffe
                radv_initialize_htile(cmd_buffer, image, range, 0);
        } else if (!radv_layout_is_htile_compressed(image, src_layout, src_queue_mask) &&
                   radv_layout_is_htile_compressed(image, dst_layout, dst_queue_mask)) {
-               radv_initialize_htile(cmd_buffer, image, range, 0x0000030f);
+               radv_initialize_htile(cmd_buffer, image, range, 0xffffffff);
        } else if (radv_layout_is_htile_compressed(image, src_layout, src_queue_mask) &&
                   !radv_layout_is_htile_compressed(image, dst_layout, dst_queue_mask)) {
                VkImageSubresourceRange local_range = *range;