Apple's OpenGL renderer sets private state (SPI) on every render pipeline
descriptor. Measured on the Intel 630, macOS 26.7.1:
- openGLModeEnabled, a sample mask and the copy logic operation always;
- a GL logic operation (XOR is 10), sample mask or sample coverage as their
properties;
- depthStencilWriteDisabled where the pipeline writes no depth or stencil.
The bundle dropped all of it, so a GL logic operation drew a copy and the sample
mask and coverage covered every sample.
Where the host offers PRIVATE_RENDER_STATE (FEATURES_LO bit 28) and the kext
takes it, each render pipeline create carries RGFX_RENDER_PIPELINE_PRIVATE_STATE
and an RgfxRenderPipelinePrivateState after its head. The bundle reads those
seven properties by key from the guest's descriptor. The Metal platform sets
them by their setters, and offers the bit where its descriptors answer them all.
The Vulkan platform fills metal2vulkan's PrivateRenderState, and drops
openGLModeEnabled until metal2vulkan says what it changes. A host without the
bit never sees the flag.