panfrost: Emit "draw" info for compute jobs
Important fields relating to shader state and UBOs are filled out from this (misnomer) function. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
22a8f6de61
commit
d9eb65c60c
|
@ -96,6 +96,8 @@ panfrost_launch_grid(struct pipe_context *pipe,
|
||||||
/* TODO: Stub */
|
/* TODO: Stub */
|
||||||
struct midgard_payload_vertex_tiler *payload = &ctx->payloads[PIPE_SHADER_COMPUTE];
|
struct midgard_payload_vertex_tiler *payload = &ctx->payloads[PIPE_SHADER_COMPUTE];
|
||||||
|
|
||||||
|
panfrost_emit_for_draw(ctx, false);
|
||||||
|
|
||||||
/* Compute jobs have a "compute FBD". It's not a real framebuffer
|
/* Compute jobs have a "compute FBD". It's not a real framebuffer
|
||||||
* descriptor - there is no framebuffer - but it takes the place of
|
* descriptor - there is no framebuffer - but it takes the place of
|
||||||
* one. As far as I can tell, it's actually the beginning of a
|
* one. As far as I can tell, it's actually the beginning of a
|
||||||
|
|
Loading…
Reference in New Issue