Translator tests and runtime docs: the fold's round-trip fields and a private link
Job m3-max-85802, the twin's suites and lint at 52e98915ba on lavapipe, ran two steps green: the runtime's device tests (red at 8672e74957, green at 52e98915ba) and the runtime suite (1003 passed, 4 skipped). Validation also passed (1344 passed, 2 skipped). The translator's test build failed: api_tests' round-trip literals of VariantKey and LoweringInputs name every field, and lacked depth_range_fold (E0063). That failed the fold tests, tr_core and clippy in all three configurations. The private rustdoc failed on one unresolved link in RenderCompiled::content's doc (Device::render_pipeline_state, a private method of crate::Device). - api_tests: both literals set depth_range_fold: true, so the round trip covers the new field. - render.rs: the link names crate::Device::render_pipeline_state. No product code changes. The runtime-sources pin does not move (pin-compute). Verified: the READY gives the rerun's job lines.
This commit is contained in:
1 parent
1880ab5637
commit
c226c542b2
2 files changed
+5
-2
No files matched your search
@@ -458,8 +458,9 @@ pub(crate) struct RenderCompiled {
|
||||
pub(crate) id: u64,
|
||||
/// What the content was made for beside its descriptor: the colours its fragment function
|
||||
/// fetches through 2D array views, the buffer slots it holds to 4, and the texture slots it
|
||||
/// encodes sRGB writes at ([`Device::render_pipeline_state`]'s), which its depth range twin
|
||||
/// is made for too.
|
||||
/// encodes sRGB writes at, as
|
||||
/// [`Device::render_pipeline_state`](crate::Device::render_pipeline_state) takes them, which
|
||||
/// its depth range twin is made for too.
|
||||
content: (u8, u64, [u128; 2]),
|
||||
/// The content's depth range twin ([`RenderPipelineState::folded`]), made at the first draw
|
||||
/// that needs it and held as long as the content: no map of its own keeps it. Or the
|
||||
|
||||
@@ -121,6 +121,7 @@ mod serde_round_trips {
|
||||
private_list: true,
|
||||
open_cl_lines: BTreeSet::from([slot(Stage::Kernel, SlotClass::Texture, 1)]),
|
||||
region_viewports: true,
|
||||
depth_range_fold: true,
|
||||
});
|
||||
round_trip(&SpecializationKey {
|
||||
data: vec![1, 0, 0, 0],
|
||||
@@ -268,6 +269,7 @@ mod serde_round_trips {
|
||||
instanced_attributes: BTreeSet::from([1]),
|
||||
object_payload: Some(64),
|
||||
region_viewports: true,
|
||||
depth_range_fold: true,
|
||||
push_base: 24,
|
||||
word_bound_buffers: BTreeSet::from([slot(Stage::Kernel, SlotClass::Buffer, 2)]),
|
||||
arrayed_fetches: BTreeSet::from([1]),
|
||||
|
||||
Reference in new issue
Block a user