projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95a36bd
)
iris: Only resolve compute resources for compute shaders
author
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 14 Feb 2019 07:10:39 +0000
(23:10 -0800)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:12 +0000
(10:26 -0800)
src/gallium/drivers/iris/iris_draw.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/iris/iris_draw.c
b/src/gallium/drivers/iris/iris_draw.c
index 12637fd41f38006ca232f997d02ab363fd9c0ea2..9dc102d2b70912135ec1d532421c230bd4423c97 100644
(file)
--- a/
src/gallium/drivers/iris/iris_draw.c
+++ b/
src/gallium/drivers/iris/iris_draw.c
@@
-180,10
+180,9
@@
iris_launch_grid(struct pipe_context *ctx, const struct pipe_grid_info *grid)
/* We can't do resolves on the compute engine, so awkwardly, we have to
* do them on the render batch...
*/
- for (gl_shader_stage stage = 0; stage < MESA_SHADER_STAGES; stage++) {
- iris_predraw_resolve_inputs(ice, &ice->batches[IRIS_BATCH_RENDER],
- &ice->state.shaders[stage], NULL, false);
- }
+ iris_predraw_resolve_inputs(ice, &ice->batches[IRIS_BATCH_RENDER],
+ &ice->state.shaders[MESA_SHADER_COMPUTE],
+ NULL, false);
iris_batch_maybe_flush(batch, 1500);