}
}
- pipe_buffer_unmap(c->pipe, c->vertex_buf.buffer, buf_transfer);
+ pipe_buffer_unmap(c->pipe, buf_transfer);
return num_rects;
}
sizeof(struct fragment_shader_consts)
);
- pipe_buffer_unmap(compositor->pipe, compositor->fs_const_buf,
- buf_transfer);
+ pipe_buffer_unmap(compositor->pipe, buf_transfer);
}
for ( i = 0; i < max_blocks; ++i)
memcpy(v + i, &const_quad, sizeof(const_quad));
- pipe_buffer_unmap(pipe, quad.buffer, buf_transfer);
+ pipe_buffer_unmap(pipe, buf_transfer);
return quad;
}
{
assert(buffer && pipe);
- pipe_buffer_unmap(pipe, buffer->resource, buffer->transfer);
+ pipe_buffer_unmap(pipe, buffer->transfer);
}
unsigned