summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2017-08-08 00:01:47 +0200
committerBas Nieuwenhuizen <[email protected]>2017-08-08 00:01:47 +0200
commitbfed189ee0ddfe9aad2c8732094434b7e1c5166d (patch)
tree739d512636f76d74fdeccb5255d78bf932ffd712 /src/amd
parent2e9a13bf2205b6e96cba408e3f48f1c3fe49634a (diff)
radv: remove semicolon in if(...);
Trivial. Fixes: a6a6146aa91 "radv: Don't allow fmask swizzling for shareable images."
Diffstat (limited to 'src/amd')
-rw-r--r--src/amd/vulkan/radv_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c
index 7e59142bf30..c0064c0a170 100644
--- a/src/amd/vulkan/radv_image.c
+++ b/src/amd/vulkan/radv_image.c
@@ -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