diff options
author | Kenneth Graunke <[email protected]> | 2017-10-23 15:46:47 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-10-24 11:31:33 -0700 |
commit | 583ce96c9429e23c33daeb7025210ef73ae51688 (patch) | |
tree | fbaa77bd190fe78ed8713463cf3cf57a1c940254 /src/mesa/drivers/dri/i965/brw_compute.c | |
parent | e91c3540fc620b39a16d5bce9fd75aa0ddd7ed7e (diff) |
i965: Don't disable CCS for RT dependencies when dispatching compute.
Compute shaders don't have access to the framebuffer, so there's no
point in worrying whether a texture is bound as a render target.
This saves a bunch of resolves in GFXBench4 Manhattan 3.1, but doesn't
seem to impact performance at all, at least on Apollolake.
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_compute.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_compute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_compute.c b/src/mesa/drivers/dri/i965/brw_compute.c index c1b2df590b7..9be7523bab3 100644 --- a/src/mesa/drivers/dri/i965/brw_compute.c +++ b/src/mesa/drivers/dri/i965/brw_compute.c @@ -177,7 +177,7 @@ brw_dispatch_compute_common(struct gl_context *ctx) brw_validate_textures(brw); - brw_predraw_resolve_inputs(brw); + brw_predraw_resolve_inputs(brw, false); /* Flush the batch if the batch/state buffers are nearly full. We can * grow them if needed, but this is not free, so we'd like to avoid it. |