diff options
author | Samuel Pitoiset <[email protected]> | 2019-06-17 09:53:26 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-06-17 09:53:26 +0200 |
commit | 6880b42cfc1a1b2f30ccd02df1956a78efbe5551 (patch) | |
tree | c65e75db5d1c7ab399298857c242e84f291a0c02 /src/amd/vulkan | |
parent | e655d636440e2a16e77b56879f8f3b009937e6d7 (diff) |
radv: silent a compiler warning in radv_CmdPushDescriptorSetKHR()
Trivial.
Signed-off-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r-- | src/amd/vulkan/radv_cmd_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index 2fd5f8b7a07..def60f7666b 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -3249,7 +3249,7 @@ void radv_CmdPushDescriptorSetKHR( * because it is invalid, according to Vulkan spec. */ for (int i = 0; i < descriptorWriteCount; i++) { - const VkWriteDescriptorSet *writeset = &pDescriptorWrites[i]; + MAYBE_UNUSED const VkWriteDescriptorSet *writeset = &pDescriptorWrites[i]; assert(writeset->descriptorType != VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT); } |