What: given_inputs compiles every object function folded (LoweringInputs::folded_groups), alone or in a mesh render pipeline, so its draws run any object grid in pieces within the task stage's limits (bind::mesh_arguments). The unfolded form is deleted: DispatchPlan::object_grid and the decl's object_grid (an unfolded object function's threadgroups per grid, wrapped at 2^32), lower::mesh::folds_object_grids with lower::mesh::mesh_stages, which only it called, and compile_mesh_pipeline's choice between the two. The single-region builtins test keeps its kernel cases and drops the object grid's. Why: condition 1 of the planner's ruling on the mesh build: one grid form, no device-chosen second one. folds_object_grids chose the folded form on a device that runs mesh stages and has device addresses, 64-bit integers, multiDrawIndirect and drawIndirectCount. Device::from_queries refuses a device without the first two, and object and mesh functions now need the last two with the extension, so every device that compiles an object function took the folded form and the unfolded one was reached only by an object function compiled alone. No SEMANTICS_VERSION bump: an object function's key holds folded_groups, so its key changes with its module, and every profile refuses object functions under the identity domains today. docs/API.md's mesh pipelines section and LoweringInputs::folded_groups say an object function is always folded. Verified: see the job named below.
2 lines
65 B
Plaintext
2 lines
65 B
Plaintext
bde1bb5991c4f8f66303b3030434dd0ca55234992a00f1f7a053844f4809bcc0
|