mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-02-16 08:53:20 +00:00
[naga] Fix cargo doc --document-private-items
. Add to CI.
This commit is contained in:
parent
9e0fd17726
commit
aaefc7c10d
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -237,7 +237,11 @@ jobs:
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
# wgpu_core package
|
# wgpu_core package
|
||||||
cargo +${{ env.DOCS_RUST_VERSION }} doc --target ${{ matrix.target }} --all-features --no-deps --package wgpu-core --package wgpu-hal --document-private-items
|
cargo +${{ env.DOCS_RUST_VERSION }} doc --target ${{ matrix.target }} \
|
||||||
|
--package wgpu-core \
|
||||||
|
--package wgpu-hal \
|
||||||
|
--package naga \
|
||||||
|
--all-features --no-deps --document-private-items
|
||||||
|
|
||||||
# We run minimal checks on the MSRV of the core crates, ensuring that
|
# We run minimal checks on the MSRV of the core crates, ensuring that
|
||||||
# its dependency tree does not cause issues for firefox.
|
# its dependency tree does not cause issues for firefox.
|
||||||
|
@ -1334,7 +1334,7 @@ impl<'a, W: Write> super::Writer<'a, W> {
|
|||||||
/// Parenthesizing the expression like `((float4)0).y` would work... except DXC can't handle
|
/// Parenthesizing the expression like `((float4)0).y` would work... except DXC can't handle
|
||||||
/// cases like:
|
/// cases like:
|
||||||
///
|
///
|
||||||
/// ```ignore
|
/// ```text
|
||||||
/// tests\out\hlsl\access.hlsl:183:41: error: cannot compile this l-value expression yet
|
/// tests\out\hlsl\access.hlsl:183:41: error: cannot compile this l-value expression yet
|
||||||
/// t_1.am = (__mat4x2[2])((float4x2[2])0);
|
/// t_1.am = (__mat4x2[2])((float4x2[2])0);
|
||||||
/// ^
|
/// ^
|
||||||
|
@ -383,6 +383,10 @@ impl FunctionInfo {
|
|||||||
/// refer to a global variable. Those expressions don't contribute
|
/// refer to a global variable. Those expressions don't contribute
|
||||||
/// any usage to the global themselves; that depends on how other
|
/// any usage to the global themselves; that depends on how other
|
||||||
/// expressions use them.
|
/// expressions use them.
|
||||||
|
///
|
||||||
|
/// [`assignable_global`]: ExpressionInfo::assignable_global
|
||||||
|
/// [`Access`]: crate::Expression::Access
|
||||||
|
/// [`AccessIndex`]: crate::Expression::AccessIndex
|
||||||
#[must_use]
|
#[must_use]
|
||||||
fn add_assignable_ref(
|
fn add_assignable_ref(
|
||||||
&mut self,
|
&mut self,
|
||||||
|
Loading…
Reference in New Issue
Block a user