case VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER:
surface_state = desc->buffer_view->surface_state;
- bo = desc->buffer_view->buffer->bo;
- bo_offset = desc->buffer_view->buffer->offset;
+ bo = desc->buffer_view->bo;
+ bo_offset = desc->buffer_view->offset;
break;
case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER: