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

Fix issues with online compiler

parent d2c61ec8
......@@ -140,7 +140,7 @@ panfrost_shader_compile(struct panfrost_context *ctx, struct mali_tripipe *meta,
/* TODO: From compiler */
if (type == JOB_TYPE_VERTEX) {
meta->attribute_count = 2;
meta->attribute_count = 3;
meta->varying_count = 4;
meta->uniform_count = 12;
meta->unknown1 = 1; /* XXX: WTF is this?! */
......
......@@ -1488,6 +1488,7 @@ panfrost_create_sampler_view(
so->base = *template;
so->base.texture = texture;
so->base.reference.count = 1;
/* sampler_views correspond to texture descriptors, minus the texture
* (data) itself. So, we serialise the descriptor here and cache it for
......
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