diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-06-14 11:23:24 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-06-17 07:59:14 -0700 |
commit | f9ecca2ff0bc4d04da4e87f64106151bf604c19f (patch) | |
tree | 65c3362d52bda02cdd7d2574b9dbbeacb3fe9988 /src/gallium/drivers/panfrost/pan_sfbd.c | |
parent | ac68946d9d0be7ca2ffd8b81443f298f59718cc6 (diff) |
panfrost: Disable the tiler for clear-only jobs
To do so, we route some basic information through to the FBD creation
routines (currently just a binary toggle of "has draws?"). Eventually,
more refactoring will enable dynamic hierarchy mask selection, but right
now we do the most basic.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_sfbd.c')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_sfbd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/panfrost/pan_sfbd.c b/src/gallium/drivers/panfrost/pan_sfbd.c index 6989cd925a8..c9b0414b50c 100644 --- a/src/gallium/drivers/panfrost/pan_sfbd.c +++ b/src/gallium/drivers/panfrost/pan_sfbd.c @@ -107,10 +107,10 @@ panfrost_sfbd_set_cbuf( /* Creates an SFBD for the FRAGMENT section of the bound framebuffer */ mali_ptr -panfrost_sfbd_fragment(struct panfrost_context *ctx) +panfrost_sfbd_fragment(struct panfrost_context *ctx, bool has_draws) { struct panfrost_job *job = panfrost_get_job_for_fbo(ctx); - struct mali_single_framebuffer fb = panfrost_emit_sfbd(ctx); + struct mali_single_framebuffer fb = panfrost_emit_sfbd(ctx, has_draws); panfrost_sfbd_clear(job, &fb); |