From e60ab66e3364c6ec56c058e3fc7fc3b3cb5f20dc Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Tue, 30 Oct 2018 10:09:39 +0100 Subject: radv: rename some parameters in Cmd{Begin,End}TransformFeedbackEXT() To match latest spec. Signed-off-by: Samuel Pitoiset Reviewed-by: Dave Airlie --- src/amd/vulkan/radv_cmd_buffer.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index 63a1fd6dff3..c43e12f6d62 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -4732,8 +4732,8 @@ static void radv_flush_vgt_streamout(struct radv_cmd_buffer *cmd_buffer) void radv_CmdBeginTransformFeedbackEXT( VkCommandBuffer commandBuffer, - uint32_t firstBuffer, - uint32_t bufferCount, + uint32_t firstCounterBuffer, + uint32_t counterBufferCount, const VkBuffer* pCounterBuffers, const VkDeviceSize* pCounterBufferOffsets) { @@ -4744,8 +4744,8 @@ void radv_CmdBeginTransformFeedbackEXT( radv_flush_vgt_streamout(cmd_buffer); - assert(firstBuffer + bufferCount <= MAX_SO_BUFFERS); - for (uint32_t i = firstBuffer; i < bufferCount; i++) { + assert(firstCounterBuffer + counterBufferCount <= MAX_SO_BUFFERS); + for (uint32_t i = firstCounterBuffer; i < counterBufferCount; i++) { if (!(so->enabled_mask & (1 << i))) continue; @@ -4793,8 +4793,8 @@ void radv_CmdBeginTransformFeedbackEXT( void radv_CmdEndTransformFeedbackEXT( VkCommandBuffer commandBuffer, - uint32_t firstBuffer, - uint32_t bufferCount, + uint32_t firstCounterBuffer, + uint32_t counterBufferCount, const VkBuffer* pCounterBuffers, const VkDeviceSize* pCounterBufferOffsets) { @@ -4804,8 +4804,8 @@ void radv_CmdEndTransformFeedbackEXT( radv_flush_vgt_streamout(cmd_buffer); - assert(firstBuffer + bufferCount <= MAX_SO_BUFFERS); - for (uint32_t i = firstBuffer; i < bufferCount; i++) { + assert(firstCounterBuffer + counterBufferCount <= MAX_SO_BUFFERS); + for (uint32_t i = firstCounterBuffer; i < counterBufferCount; i++) { if (!(so->enabled_mask & (1 << i))) continue; -- cgit v1.2.3