diff options
author | Kenneth Graunke <[email protected]> | 2018-11-20 09:12:54 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:10 -0800 |
commit | 2c237213973e1c515d79fe6eb7ea7e7d3f8032ea (patch) | |
tree | 10d05f3b8060935a9983872c6235fe307984713e /src | |
parent | f1a7392be17573169460971b487ad25cb2ce43df (diff) |
iris: PIPE_CONTROL workarounds for GPGPU mode
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/iris/iris_state.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index 1d34ef28547..075753b170f 100644 --- 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 |