diff options
author | Kenneth Graunke <[email protected]> | 2018-12-19 20:34:55 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:11 -0800 |
commit | 7ddc1f8dedd181cff37f4fdae72a0967c5914915 (patch) | |
tree | 0fec4494e7d4af0572310955c11706a6a610b2a5 /src/gallium/drivers/iris/iris_context.h | |
parent | 6c17e7d95f36a2f16fc8667243b3b469a2c601a7 (diff) |
iris: Only resolve inputs for actual shader stages
We don't need to consider compute at render time, and don't need to
consider disabled stages. 4% on drawoverhead.
Diffstat (limited to 'src/gallium/drivers/iris/iris_context.h')
-rw-r--r-- | src/gallium/drivers/iris/iris_context.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/iris/iris_context.h b/src/gallium/drivers/iris/iris_context.h index 596b195b5a8..042a2cfb43d 100644 --- a/src/gallium/drivers/iris/iris_context.h +++ b/src/gallium/drivers/iris/iris_context.h @@ -677,8 +677,8 @@ uint64_t iris_timebase_scale(const struct gen_device_info *devinfo, /* iris_resolve.c */ -void iris_predraw_resolve_inputs(struct iris_context *ice, - struct iris_batch *batch); +void iris_predraw_resolve_inputs(struct iris_batch *batch, + struct iris_shader_state *shs); void iris_predraw_resolve_framebuffer(struct iris_context *ice, struct iris_batch *batch); void iris_postdraw_update_resolve_tracking(struct iris_context *ice, |