DUMP_M(uint, info, dstz);
DUMP_M(resource, info, src);
DUMP_M(uint, info, src_level);
- DUMP_M(box, info, src_box);
+ DUMP_M_ADDR(box, info, src_box);
}
static void
{
fprintf(f, "%s:\n", __func__+8);
DUMP_M(uint, info, buffers);
- DUMP_M(color_union, info, color);
+ DUMP_M_ADDR(color_union, info, color);
DUMP_M(double, info, depth);
DUMP_M(hex, info, stencil);
}
call.info.resource_copy_region.dstz = dstz;
call.info.resource_copy_region.src = src;
call.info.resource_copy_region.src_level = src_level;
- call.info.resource_copy_region.src_box = src_box;
+ call.info.resource_copy_region.src_box = *src_box;
dd_before_draw(dctx);
pipe->resource_copy_region(pipe,
call.type = CALL_CLEAR;
call.info.clear.buffers = buffers;
- call.info.clear.color = color;
+ call.info.clear.color = *color;
call.info.clear.depth = depth;
call.info.clear.stencil = stencil;
unsigned dstx, dsty, dstz;
struct pipe_resource *src;
unsigned src_level;
- const struct pipe_box *src_box;
+ struct pipe_box src_box;
};
struct call_clear
{
unsigned buffers;
- const union pipe_color_union *color;
+ union pipe_color_union color;
double depth;
unsigned stencil;
};