projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1a7392
)
iris: PIPE_CONTROL workarounds for GPGPU mode
author
Kenneth Graunke
<kenneth@whitecape.org>
Tue, 20 Nov 2018 17:12:54 +0000
(09:12 -0800)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:10 +0000
(10:26 -0800)
src/gallium/drivers/iris/iris_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/iris/iris_state.c
b/src/gallium/drivers/iris/iris_state.c
index 1d34ef285473b2d35c2002801055c94201ab4d78..075753b170f5cbc6cf0ae39d9d9b65cbc8028b44 100644
(file)
--- a/
src/gallium/drivers/iris/iris_state.c
+++ b/
src/gallium/drivers/iris/iris_state.c
@@
-4838,8
+4838,7
@@
get_post_sync_flags(enum pipe_control_flags flags)
return flags;
}
-// XXX: compute support
-#define IS_COMPUTE_PIPELINE(batch) (batch->engine != I915_EXEC_RENDER)
+#define IS_COMPUTE_PIPELINE(batch) (batch->name == IRIS_BATCH_COMPUTE)
/**
* Emit a series of PIPE_CONTROL commands, taking into account any