panfrost: Emit "draw" info for compute jobs
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 31 Jul 2019 22:32:18 +0000 (15:32 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 1 Aug 2019 23:23:03 +0000 (16:23 -0700)
Important fields relating to shader state and UBOs are filled out from
this (misnomer) function.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_compute.c

index 71065e28ba7b8fc9f430bd0a616586f83499c41b..b087ff1d0d55873f7e555a01d70a4fd84751d787 100644 (file)
@@ -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