summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-10-30 10:09:39 +0100
committerSamuel Pitoiset <[email protected]>2018-10-31 09:21:28 +0100
commite60ab66e3364c6ec56c058e3fc7fc3b3cb5f20dc (patch)
treed91fde6debbeff8843939aa37873c1c7fb412ce2 /src/amd/vulkan
parent57982b683bcbcfecba07c7d3dcbacd82e4ced614 (diff)
radv: rename some parameters in Cmd{Begin,End}TransformFeedbackEXT()
To match latest spec. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r--src/amd/vulkan/radv_cmd_buffer.c16
1 files 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;