diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-07-31 15:32:18 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-01 16:23:03 -0700 |
commit | d9eb65c60c8649dcc82f136b2cb0d7d0eeef8e0d (patch) | |
tree | facc9405975e847591132c06c101000d010691e5 /src | |
parent | 22a8f6de6171abc20bcde3df87597248cad69249 (diff) |
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_compute.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_compute.c b/src/gallium/drivers/panfrost/pan_compute.c index 71065e28ba7..b087ff1d0d5 100644 --- a/src/gallium/drivers/panfrost/pan_compute.c +++ b/src/gallium/drivers/panfrost/pan_compute.c @@ -96,6 +96,8 @@ panfrost_launch_grid(struct pipe_context *pipe, /* TODO: Stub */ 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 * 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 |