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

Remove prints

parent ddd05873
......@@ -422,18 +422,10 @@ trans_emit_for_draw(struct panfrost_context *ctx)
struct mali_attr attrs[PIPE_MAX_ATTRIBS];
for (int i = 0; i < ctx->vertex_buffer_count; ++i) {
//struct pipe_vertex_element *pipe = &ctx->vertex->pipe[i];
struct mali_attr_meta *hw = &ctx->vertex->hw[i];
struct pipe_vertex_buffer *buf = &ctx->vertex_buffers[i];
struct panfrost_resource *rsrc = (struct panfrost_resource *) (buf->buffer.resource);
float *f = (float *) rsrc->cpu;
printf("---\n");
for (int i = 0; i < 3; ++i)
printf("<%f, %f, %f, %f>\n", f[4*i+0], f[4*i+1], f[4*i+2], f[4*i+3]);
printf("---\n");
attrs[i] = trans_attr(sizeof(float), MALI_NEGATIVE(hw->nr_components), ctx->vertex_count);
attrs[i].elements = panfrost_upload(&ctx->cmdstream, rsrc->cpu, attrs[i].size, false) | 1;
}
......
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