panfrost: Share gl_enables between VERTEX/COMPUTE
Catch-all for magic bits. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
871c02b12e
commit
3b7224190e
|
@ -277,7 +277,10 @@ panfrost_emit_vertex_payload(struct panfrost_context *ctx)
|
|||
.gl_enables = 0x4 | 0x2,
|
||||
};
|
||||
|
||||
/* Vertex and compute are closely coupled, so share a payload */
|
||||
|
||||
memcpy(&ctx->payloads[PIPE_SHADER_VERTEX], &payload, sizeof(payload));
|
||||
memcpy(&ctx->payloads[PIPE_SHADER_COMPUTE], &payload, sizeof(payload));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue