From: Kenneth Graunke Date: Tue, 20 Nov 2018 17:12:54 +0000 (-0800) Subject: iris: PIPE_CONTROL workarounds for GPGPU mode X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2c237213973e1c515d79fe6eb7ea7e7d3f8032ea;p=mesa.git iris: PIPE_CONTROL workarounds for GPGPU mode --- 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