return true;
}
+#define DEBUG_BLIT 0
#define DEBUG_BLIT_FALLBACK 0
+
#define fail_if(cond) \
do { \
if (cond) { \
struct fd_resource *src, *dst;
unsigned sshift, dshift;
- if (DEBUG_BLIT_FALLBACK) {
+ if (DEBUG_BLIT) {
fprintf(stderr, "buffer blit: ");
util_dump_blit_info(stderr, info);
fprintf(stderr, "\ndst resource: ");
int sx1, sy1, sx2, sy2;
int dx1, dy1, dx2, dy2;
- if (DEBUG_BLIT_FALLBACK) {
+ if (DEBUG_BLIT) {
fprintf(stderr, "texture blit: ");
util_dump_blit_info(stderr, info);
fprintf(stderr, "\ndst resource: ");
{
struct pipe_blit_info blit = *info;
- if (DEBUG_BLIT_FALLBACK) {
+ if (DEBUG_BLIT) {
fprintf(stderr, "---- handle_zs_blit: ");
util_dump_blit_info(stderr, info);
fprintf(stderr, "\ndst resource: ");