translator: the identity domains push the draw's viewport count to a vertex function that selects its viewport
Under the identity domains a vertex function that writes [[viewport_array_index]] was refused
as IdentityDomains (an encoder value the function reads as ViewportCount): the field was not
among the encoder values those domains push. The runtime fills it per draw (the encoder's
viewport count, 99e5d42deb), so the field joins the admitted pushed values beside
RenderTargetArrayLength; nothing else of the form changes. Found by 99e5d42deb's suite
(m3-max-62168), whose viewports device test the translator refused.
SEMANTICS_VERSION 2250, one above development's 2249: such a vertex function now
compiles where it was refused. lower/select.rs and cache/mod.rs are not among validation's
runtime inputs, so runtime-sources.sha256 and RUNTIME_VERSION stay. A test pins the form on
lavapipe's profile (engine_identity_render: rt6_viewports' rt6_select pushes ViewportCount in its
window, depends on RuntimeFact::ViewportCount and stores ViewportIndex under
shaderOutputViewportIndex; both modules L3), and docs/API.md names the pushed count.
This commit is contained in:
1 parent
99e5d42deb
commit
d00c32ecf6
4 files changed
+72
-8
No files matched your search
+3
-1
@@ -209,7 +209,9 @@ compile does. `DevicePolicy::default()` is `DevicePolicy::UNTRUSTED`:
|
||||
read-only signed-integer attachment joins `signed_color_attachments`. A vertex function that
|
||||
writes `[[render_target_array_index]]` compiles in the variant that writes `Layer`, which stores
|
||||
0 for an index at or past the render pass's length the consumer pushes
|
||||
(`PushField::RenderTargetArrayLength`, `renderTargetArrayLength` at least 1). A kernel without a
|
||||
(`PushField::RenderTargetArrayLength`, `renderTargetArrayLength` at least 1), and one that writes
|
||||
`[[viewport_array_index]]` stores `ViewportIndex` 0 for an index at or past the draw's viewport
|
||||
count the consumer pushes (`PushField::ViewportCount`). A kernel without a
|
||||
call stack whose private bytes pass the 16 KiB floor every device holds keeps its private memory
|
||||
in the consumer's device memory: every alloca it indexes at run time is in its private arena,
|
||||
whose words for an invocation are the slot of `RuntimeFact::PrivateArena { slot_bytes }` (the
|
||||
|
||||
Reference in new issue
Block a user