From: Jason Ekstrand Date: Thu, 31 Dec 2015 20:07:10 +0000 (-0800) Subject: anv/cmd_buffer: Fix a pointer-cast typo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3fe1f118f8f5ad61d4dd58a7568627790ff31348;p=mesa.git anv/cmd_buffer: Fix a pointer-cast typo --- 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++;