Rev 4401 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4401 | Rev 4525 | ||
---|---|---|---|
Line 689... | Line 689... | ||
689 | if (ctx->DrawBuffer->Visual.alphaBits == 0 || |
689 | if (ctx->DrawBuffer->Visual.alphaBits == 0 || |
690 | !ctx->Color.ColorMask[unit][3]) { |
690 | !ctx->Color.ColorMask[unit][3]) { |
691 | surf[0] |= 1 << BRW_SURFACE_WRITEDISABLE_A_SHIFT; |
691 | surf[0] |= 1 << BRW_SURFACE_WRITEDISABLE_A_SHIFT; |
692 | } |
692 | } |
693 | } |
693 | } |
694 | #if 0 |
- | |
695 | printf("brw_update_renderbuffer_surface\n" |
- | |
696 | "bind bo(handle=%d format=%d width=%d height=%d\n" |
- | |
697 | "pitch=%d, tiling=%d\n" |
- | |
698 | "ss[0] %x ss[1] %x ss[2] %x ss[3] %x ss[4] %x ss[5] %x\n", |
- | |
699 | region->bo->handle, format, rb->Width, rb->Height, |
- | |
700 | region->pitch, region->tiling, |
- | |
701 | surf[0],surf[1],surf[2],surf[3], surf[4],surf[5]); |
- | |
702 | #endif |
- | |
Line 703... | Line 694... | ||
703 | 694 | ||
704 | drm_intel_bo_emit_reloc(brw->batch.bo, |
695 | drm_intel_bo_emit_reloc(brw->batch.bo, |
705 | brw->wm.surf_offset[unit] + 4, |
696 | brw->wm.surf_offset[unit] + 4, |
706 | region->bo, |
697 | region->bo, |