iris: PIPE_CONTROL workarounds for GPGPU mode

This commit is contained in:
Kenneth Graunke 2018-11-20 09:12:54 -08:00
parent f1a7392be1
commit 2c23721397
1 changed files with 1 additions and 2 deletions

View File

@ -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