mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
intel/compiler: Don't evict for workgroup-scope fences
Flushing and invalidating caches isn't necessary for workgroup scope
fences. In fact, the DP_FLUSH_TYPE docs (BSpec 54041) say:
"If the fence scope is Local or Threadgroup, HW ignores the flush
type and operates as if it was set to None(no flush)"
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24842>
This commit is contained in:
parent
5eddf60e56
commit
8ce4d7a08d
1 changed files with 0 additions and 1 deletions
|
|
@ -4259,7 +4259,6 @@ lsc_fence_descriptor_for_intrinsic(const struct intel_device_info *devinfo,
|
|||
break;
|
||||
case SCOPE_WORKGROUP:
|
||||
scope = LSC_FENCE_THREADGROUP;
|
||||
flush_type = LSC_FLUSH_TYPE_EVICT;
|
||||
break;
|
||||
case SCOPE_SHADER_CALL:
|
||||
case SCOPE_INVOCATION:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue