diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index df802f1f6c..9d38cb0831 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,12 +1,17 @@ name: Docs on: - pull_request: - paths: - - ".github/workflows/docs.yml" push: - branches: - - trunk + branches-ignore: [ + # Renovate branches are always PRs, so they will be covered + # by the pull_request event. + "renovate/**", + # Branches with the `gh-readonly-queue` prefix are used by the + # merge queue, so they are already covered by the `merge_group` event. + "gh-readonly-queue/**", + ] + pull_request: + merge_group: env: # This is the MSRV used by `wgpu` itself and all surrounding infrastructure. diff --git a/.github/workflows/lazy.yml b/.github/workflows/lazy.yml index 9a380c7928..38f86ee94e 100644 --- a/.github/workflows/lazy.yml +++ b/.github/workflows/lazy.yml @@ -1,11 +1,18 @@ -# Lazy jobs running on trunk post merges. +# Non-critical jobs name: Lazy + on: - pull_request: - paths: - - ".github/workflows/lazy.yml" push: - branches: [trunk] + branches-ignore: [ + # Renovate branches are always PRs, so they will be covered + # by the pull_request event. + "renovate/**", + # Branches with the `gh-readonly-queue` prefix are used by the + # merge queue, so they are already covered by the `merge_group` event. + "gh-readonly-queue/**", + ] + pull_request: + merge_group: env: CARGO_INCREMENTAL: false @@ -96,12 +103,8 @@ jobs: run: | cargo build --release -p naga-cli - - name: Install `spirv-tools` - run: | - cd naga - wget -q https://storage.googleapis.com/spirv-tools/artifacts/prod/graphics_shader_compiler/spirv-tools/linux-clang-release/continuous/1489/20210629-121459/install.tgz - tar zxf install.tgz - ./install/bin/spirv-as --version + - name: Install Vulkan SDK + uses: ./.github/actions/install-vulkan-sdk - name: Compile `spv` from `spvasm` run: | @@ -111,7 +114,7 @@ jobs: find "./spvasm" -name '*.spvasm' | while read fname; do echo "Convert to spv with spirv-as: $fname" - ../install/bin/spirv-as --target-env spv1.3 $(realpath ${fname}) -o ./spv/$(basename ${fname}).spv + spirv-as --target-env spv1.3 $(realpath ${fname}) -o ./spv/$(basename ${fname}).spv done; - name: Validate `spv` and generate `wgsl` diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a6600a5839..23e7f7c874 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,12 +1,17 @@ name: Publish on: - pull_request: - paths: - - ".github/workflows/publish.yml" push: - branches: - - trunk + branches-ignore: [ + # Renovate branches are always PRs, so they will be covered + # by the pull_request event. + "renovate/**", + # Branches with the `gh-readonly-queue` prefix are used by the + # merge queue, so they are already covered by the `merge_group` event. + "gh-readonly-queue/**", + ] + pull_request: + merge_group: env: CARGO_INCREMENTAL: false diff --git a/wgpu/src/api/adapter.rs b/wgpu/src/api/adapter.rs index 36e317c52c..306074e055 100644 --- a/wgpu/src/api/adapter.rs +++ b/wgpu/src/api/adapter.rs @@ -216,7 +216,6 @@ impl Adapter { /// Returns an empty vector if cooperative matrices are not supported. /// /// Requires [`Features::EXPERIMENTAL_COOPERATIVE_MATRIX`] to be meaningful. - #[cfg(wgpu_core)] pub fn cooperative_matrix_properties(&self) -> Vec { self.inner.cooperative_matrix_properties() } diff --git a/wgpu/src/dispatch.rs b/wgpu/src/dispatch.rs index 4a3bd00668..9e88b5706e 100644 --- a/wgpu/src/dispatch.rs +++ b/wgpu/src/dispatch.rs @@ -125,7 +125,6 @@ pub trait AdapterInterface: CommonTraits { fn get_presentation_timestamp(&self) -> crate::PresentationTimestamp; - #[cfg(wgpu_core)] fn cooperative_matrix_properties(&self) -> Vec; }