radv: remove semicolon in if(...);
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 7 Aug 2017 22:01:47 +0000 (00:01 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 7 Aug 2017 22:01:47 +0000 (00:01 +0200)
Trivial.

Fixes: a6a6146aa91 "radv: Don't allow fmask swizzling for shareable images."
src/amd/vulkan/radv_image.c

index 7e59142bf30123d81a7b1cb6fdf40af0a32efe01..c0064c0a17050ee0132c8a29125af9434d232b05 100644 (file)
@@ -616,7 +616,7 @@ radv_image_get_fmask_info(struct radv_device *device,
        info.samples = 1;
        fmask.flags = image->surface.flags | RADEON_SURF_FMASK;
 
-       if (!image->shareable);
+       if (!image->shareable)
                info.surf_index = &device->fmask_mrt_offset_counter;
 
        /* Force 2D tiling if it wasn't set. This may occur when creating