Commit d6197b00 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Remove prints

parent 0967b7f6
......@@ -661,9 +661,7 @@ trans_make_stencil_state(const struct pipe_stencil_state *in, struct mali_stenci
out->ref = 0; /* Gallium gets it from else where */
out->mask = in->valuemask;
printf("Value mask %X\n", in->valuemask);
out->func = trans_translate_compare_func(in->func);
printf("stencil alt %d, %d, %D\n", in->func, out->func);
out->sfail = trans_translate_stencil_op(in->fail_op);
out->dpfail = trans_translate_stencil_op(in->zfail_op);
out->dppass = trans_translate_stencil_op(in->zpass_op);
......@@ -925,10 +923,8 @@ trans_emit_for_draw(struct panfrost_context *ctx)
struct panfrost_resource *rsrc = (struct panfrost_resource *) tex_rsrc;
/* Inject the address in. */
for (int l = 0; l < (tex_rsrc->last_level + 1); ++l) {
printf("Dirty %d\n", l);
for (int l = 0; l < (tex_rsrc->last_level + 1); ++l)
ctx->sampler_views[t][i]->hw.swizzled_bitmaps[l] = rsrc->gpu[l];
}
/* Workaround maybe-errata (?) with non-mipmaps */
int s = ctx->sampler_views[t][i]->hw.nr_mipmap_levels;
......@@ -1415,8 +1411,6 @@ panfrost_create_sampler_state(
.unknown2 = 1,
};
printf("mip %d -> %d\n", cso->min_mip_filter, translate_mip_filter(cso->min_mip_filter));
so->hw = sampler_descriptor;
return so;
......@@ -1561,7 +1555,6 @@ panfrost_set_stencil_ref(
{
struct panfrost_context *ctx = panfrost_context(pctx);
printf("Ref %d, %d\n", ref->ref_value[0], ref->ref_value[1]);
ctx->fragment_shader_core.stencil_front.ref = ref->ref_value[0];
ctx->fragment_shader_core.stencil_back.ref = ref->ref_value[1];
......@@ -1621,8 +1614,6 @@ panfrost_create_sampler_view(
assert (template->u.tex.first_level == 0);
texture_descriptor.nr_mipmap_levels = template->u.tex.last_level - template->u.tex.first_level;
printf("Mip %d\n", texture_descriptor.nr_mipmap_levels);
printf("vs %d\n", texture->last_level);
so->hw = texture_descriptor;
......@@ -1694,7 +1685,6 @@ panfrost_resource_create_front(struct pipe_screen *screen,
/* TODO: Allocate straight on the cmdstream for zero-copy operation */
for (int l = 0; l < (template->last_level + 1); ++l) {
printf("Allocate %d\n", l);
so->cpu[l] = malloc(sz);
//sz >>= 2;
}
......@@ -1747,7 +1737,6 @@ panfrost_transfer_map(struct pipe_context *pctx,
if (transfer->usage & PIPE_TRANSFER_MAP_DIRECTLY)
return NULL;
printf("Level %d\n", level);
return rsrc->cpu[level] + transfer->box.x + transfer->box.y * transfer->stride;
}
......@@ -2041,7 +2030,6 @@ panfrost_tile_texture(struct panfrost_context *ctx, struct panfrost_resource *rs
* we allocated */
trans_texture_swizzle(width, height, bpp, stride, rsrc->cpu[level], swizzled);
printf("Swizzling level %d\n", level);
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment