diff options
| author | Qwerasd <qwerasd205@users.noreply.github.com> | 2025-02-07 13:49:39 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-07 13:49:39 -0500 |
| commit | f95f636f1fff1cf449efa79f3f42dcb8d9bbfce5 (patch) | |
| tree | 60973107840deebf806dbc329b4690120c52c5cf /src/cli | |
| parent | 79d6d267848017a82228e0ed47cb4d4e5a2b8c27 (diff) | |
| parent | ea16890fd3388781c6cfe3b62d7222a9da620401 (diff) | |
Metal: use "Managed" resource storage mode on discrete GPUs (#5625)
Discrete GPUs cannot use the "shared" storage mode. This causes
undefined behavior right now, and I believe it's what's causing a
problem on Intel systems with discrete GPUs with "inverted" cells.
(Observed in discussion #5597)
This commit also sets the CPU cache mode to "write combined" for our
resources since we don't read them back so Metal can optimize them
further with this hint.
Diffstat (limited to 'src/cli')
0 files changed, 0 insertions, 0 deletions
