Docs: object and mesh SIMD-group functions are a recorded refusal; the vertex quad row says shuffles
- docs/API.md, "Mesh pipelines": an object or mesh function that calls a SIMD-group, quad-group or SIMD-group matrix function is refused on every device, including a device that lists the task and mesh stages in subgroupSupportedStages. The translator models no subgroup facts for those stages (device/subgroup.rs, UNMODELED_STAGE). [[thread_index_in_simdgroup]] alone compiles there (the Linear tier). Until now no doc recorded this open gap where a user reads it. Of the corpus index's 14 object and 32 mesh functions, none calls an air.simd* or air.quad* intrinsic. - fixtures/public/engine/README.md, gsm2_vertex_quad_permutes' row: it said the translation emits Vulkan's quad instructions where the vertex stage takes them. It lowers each one to a subgroup shuffle through the ballot of the live lanes, on every device: a group plan takes quad instructions only in a kernel, as tests::engine_simd's vertex_quad_permutes_shuffle_through_the_live_lanes asserts. The runtime-sources.sha256 move from 032b641117 (device/derive.rs and device/subgroup.rs are runtime inputs) is a hash-only re-pin at landing, with no RUNTIME_VERSION bump. A run's behaviour does not change: the device's enables and caps are the same, and only the translator's subgroup model loses a field.
This commit is contained in:
1 parent
8db6d705da
commit
03e13a12c9
2 files changed
+8
-1
No files matched your search
@@ -999,6 +999,13 @@ stages are task and mesh shaders, which need `VK_EXT_mesh_shader` with `meshShad
|
||||
pipeline and each of its object and mesh functions (`Unsupported{MeshShading}`, naming what it
|
||||
lacks).
|
||||
|
||||
An object or mesh function that calls a SIMD-group, quad-group or SIMD-group matrix function is
|
||||
refused on every device (`Unsupported{SubgroupOperations}`, `QuadOperations` or `SimdgroupMatrix`,
|
||||
naming the stage's `VkProperty::SubgroupStage`), a device that lists the task and mesh stages in
|
||||
`subgroupSupportedStages` included: the translator models no subgroup facts for those stages. Metal
|
||||
gives both stages `[[thread_index_in_simdgroup]]`, which compiles, the lane derived from the linear
|
||||
thread index as a kernel's is.
|
||||
|
||||
The mesh lowering is only compiled and validated: no mesh draw it makes has been compared with
|
||||
Metal on a GPU, and the runtime makes no mesh pipeline (its README's known gaps of render pipeline
|
||||
states). What follows is what the lowering emits.
|
||||
|
||||
Reference in new issue
Block a user