Rev 4358 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4358 | Rev 4401 | ||
---|---|---|---|
Line 102... | Line 102... | ||
102 | OUT_RING(ring, 0x00000000); /* viz query info. */ |
102 | OUT_RING(ring, 0x00000000); /* viz query info. */ |
103 | OUT_RING(ring, DRAW(mode2primtype(info->mode), |
103 | OUT_RING(ring, DRAW(mode2primtype(info->mode), |
104 | src_sel, idx_type, IGNORE_VISIBILITY)); |
104 | src_sel, idx_type, IGNORE_VISIBILITY)); |
105 | OUT_RING(ring, info->count); /* NumIndices */ |
105 | OUT_RING(ring, info->count); /* NumIndices */ |
106 | if (info->indexed) { |
106 | if (info->indexed) { |
107 | OUT_RELOC(ring, idx_bo, idx_offset, 0); |
107 | OUT_RELOC(ring, idx_bo, idx_offset, 0, 0); |
108 | OUT_RING (ring, idx_size); |
108 | OUT_RING (ring, idx_size); |
109 | } |
109 | } |
110 | } |
110 | } |
Line 111... | Line 111... | ||
111 | 111 | ||
Line 191... | Line 191... | ||
191 | fd_resource(pfb->zsbuf->texture)->dirty = true; |
191 | fd_resource(pfb->zsbuf->texture)->dirty = true; |
192 | ctx->gmem_reason |= FD_GMEM_CLEARS_DEPTH_STENCIL; |
192 | ctx->gmem_reason |= FD_GMEM_CLEARS_DEPTH_STENCIL; |
193 | } |
193 | } |
Line 194... | Line 194... | ||
194 | 194 | ||
195 | DBG("%x depth=%f, stencil=%u (%s/%s)", buffers, depth, stencil, |
195 | DBG("%x depth=%f, stencil=%u (%s/%s)", buffers, depth, stencil, |
196 | util_format_name(pfb->cbufs[0]->format), |
196 | util_format_short_name(pipe_surface_format(pfb->cbufs[0])), |
Line 197... | Line 197... | ||
197 | pfb->zsbuf ? util_format_name(pfb->zsbuf->format) : "none"); |
197 | util_format_short_name(pipe_surface_format(pfb->zsbuf))); |
Line 198... | Line 198... | ||
198 | 198 | ||
199 | ctx->clear(ctx, buffers, color, depth, stencil); |
199 | ctx->clear(ctx, buffers, color, depth, stencil); |