anv: Remove all support for BufferViews

We never *actually* supported them, we just used them for binding UBOs.
Now that we have BufferInfo and we aren't supporting texture buffers yet,
we should get rid of them until we can do them properly.
This commit is contained in:
Jason Ekstrand
2015-11-06 13:16:15 -08:00
parent 0360c3608b
commit d7cc9929bb
5 changed files with 6 additions and 99 deletions

View File

@@ -605,11 +605,6 @@ anv_cmd_buffer_emit_binding_table(struct anv_cmd_buffer *cmd_buffer,
case ANV_DESCRIPTOR_TYPE_SAMPLER:
/* Nothing for us to do here */
continue;
case ANV_DESCRIPTOR_TYPE_BUFFER_VIEW:
surface_state = desc->buffer_view->surface_state;
bo = desc->buffer_view->bo;
bo_offset = desc->buffer_view->offset;
break;
case ANV_DESCRIPTOR_TYPE_BUFFER_AND_OFFSET: {
bo = desc->buffer->bo;
bo_offset = desc->buffer->offset + desc->offset;