mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
nak/sm50: Use MemScope::CTA for constant image loads
Using MemScope::System synchronizes with everything, which is exactly what we don't want for constant loads. This is currently a no-op because we aren't using MemScope::Constant pre-Ampere yet. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35217>
This commit is contained in:
parent
6ea0e91c99
commit
d3b9752ee6
1 changed files with 1 additions and 2 deletions
|
|
@ -2454,8 +2454,7 @@ impl SM50Op for OpSuLd {
|
|||
// mem_eviction_policy not a thing for sm < 70
|
||||
|
||||
let scope = match self.mem_order {
|
||||
MemOrder::Constant => MemScope::System,
|
||||
MemOrder::Weak => MemScope::CTA,
|
||||
MemOrder::Constant | MemOrder::Weak => MemScope::CTA,
|
||||
MemOrder::Strong(s) => s,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue