📝 Say what a Managed texture with no CPU copy is now [ci skip]
The design listed depth, stencil, PVRTC and three-component formats as the Managed textures that keep no CPU copy. A depth or stencil one in Managed storage ends the process before the bundle makes it, as on the x86 oracles (882198139), and Metal has no three-component pixel format. What is left, a PVRTC one, is the platform's texture alone, one copy on any GPU, reached by the CPU through the staging blit a Shared texture's calls wait for, which sees the GPU's writes with no synchronize: inside Q2's envelope, as the Intel 630's and the M3's Managed textures behave.
This commit is contained in:
1 parent
2cfd44fb18
commit
eaa39e35eb
1 file changed
+6
-2
@@ -1836,8 +1836,12 @@ shares the CPU's memory:
|
||||
- In the guest, `replaceRegion:` and `getBytes:` are memcpys of the block, and
|
||||
`replaceRegion:` posts its region; neither waits for the host, but for the
|
||||
`getBytes:` of a two-copy texture on shared memory, above. A format the
|
||||
layout has no block for (depth, stencil, PVRTC, three-component) keeps no CPU
|
||||
copy.
|
||||
layout has no block for (PVRTC) keeps no CPU copy: the texture is the
|
||||
platform's alone, one copy on any GPU, and the CPU reaches it through the
|
||||
staging blit a Shared texture's calls wait for, which sees the GPU's writes
|
||||
with no synchronize, as the Intel 630's and the M3's Managed textures do
|
||||
(dgpu-oracle.md Q2). A depth or stencil texture in Managed storage ends the
|
||||
process first, as on both x86 oracles.
|
||||
- Until the device's identity answers carry `hasUnifiedMemory`, the host takes
|
||||
the two copies on every GPU, which hold Metal's contract on any of them.
|
||||
|
||||
|
||||
Reference in new issue
Block a user