iris: PIPE_CONTROL workarounds for GPGPU mode
This commit is contained in:
parent
f1a7392be1
commit
2c23721397
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue