Commit 97be73fa authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Rename position_varying

parent 628e9492
......@@ -349,11 +349,10 @@ struct mali_payload_vertex_tiler {
u32 zero5;
/* Zero for vertex jobs. Pointer to the end of varying memory for this
* draw for tiler jobs. It's not clear why this is needed -- why can't
* it compute it from varyings? -- but it's easy enough to work with */
/* Zero for vertex jobs. Pointer to the position (gl_Position) varying
* output from the vertex shader for tiler jobs. */
uintptr_t varyings_end;
uintptr_t position_varying;
uintptr_t unknown1; /* pointer */
......
......@@ -930,7 +930,7 @@ panwrap_replay_vertex_or_tiler_job(const struct mali_job_descriptor_header *h,
DYN_MEMORY_PROP(v, job_no, viewport);
DYN_MEMORY_PROP(v, job_no, framebuffer);
MEMORY_PROP(v, varyings_end);
MEMORY_PROP(v, position_varying);
panwrap_prop("_shader_upper = (shader_meta_%d_p) >> 4", job_no);
panwrap_prop("flags = %d", v->flags);
......
......@@ -454,7 +454,7 @@ trans_emit_for_draw(struct panfrost_context *ctx)
mali_ptr varyings_p = panfrost_upload(&ctx->cmdstream, &varyings, ctx->varying_count * sizeof(struct mali_attr), false);
ctx->payload_vertex.varyings = varyings_p;
ctx->payload_tiler.varyings = varyings_p;
ctx->payload_tiler.varyings_end = ctx->varying_mem.gpu + ctx->varying_height;
ctx->payload_tiler.position_varying = ctx->varying_mem.gpu + ctx->varying_height;
ctx->dirty &= ~PAN_DIRTY_VARYINGS;
}
......
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