From 3fe1f118f8f5ad61d4dd58a7568627790ff31348 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 31 Dec 2015 12:07:10 -0800 Subject: [PATCH] anv/cmd_buffer: Fix a pointer-cast typo --- src/vulkan/anv_cmd_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/anv_cmd_buffer.c b/src/vulkan/anv_cmd_buffer.c index 1eaa3df633c..2f19c75e7cc 100644 --- a/src/vulkan/anv_cmd_buffer.c +++ b/src/vulkan/anv_cmd_buffer.c @@ -538,7 +538,7 @@ void anv_CmdBindDescriptorSets( for (unsigned j = 0; j < array_size; j++) { uint32_t range = 0; if (desc->buffer_view) - range = desc->buffer_view; + range = desc->buffer_view->range; push->dynamic[d].offset = *(offsets++); push->dynamic[d].range = range; desc++; -- 2.30.2