Commit 7400bc64 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

shrug

parent a5b8eef3
......@@ -94,7 +94,7 @@ panfrost_shader_compile(struct panfrost_context *ctx, struct mali_tripipe *meta,
dst = malloc(last_shader_size);
pandev_shader_assemble(dst, src, type);
} else {
dst = pandev_shader_compile(dst, NULL, type);
dst = pandev_shader_compile(NULL, NULL, type);
}
meta->shader = panfrost_upload(&ctx->shaders, dst, last_shader_size, true) | 5;
......@@ -110,7 +110,7 @@ panfrost_shader_compile(struct panfrost_context *ctx, struct mali_tripipe *meta,
} else {
meta->attribute_count = 0;
meta->varying_count = 2;
meta->uniform_count = 0;
meta->uniform_count = 1;
meta->unknown1 = MALI_NO_ALPHA_TO_COVERAGE | 0x200; /* XXX: WTF is this?! */
}
......
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