Signed-off-by: Brian Paul <brianp@vmware.com>
struct pipe_transfer *ib_transfer = NULL;
struct pipe_transfer *cb_transfer[SVGA_MAX_CONST_BUFS] = { 0 };
struct draw_context *draw = svga->swtnl.draw;
- unsigned i, old_num_vertex_buffers;
+ MAYBE_UNUSED unsigned old_num_vertex_buffers;
+ unsigned i;
const void *map;
enum pipe_error ret;
* in one slot at least:
*/
assert(type1 == SVGA3DREG_SAMPLER);
+ (void) type1;
if (type0 == SVGA3DREG_CONST &&
((type3 == SVGA3DREG_CONST && src0.base.num != src3.base.num) ||