Skip to content

fix: revert sampler to clamp to fix screen artifacts #2920

fix: revert sampler to clamp to fix screen artifacts

fix: revert sampler to clamp to fix screen artifacts #2920

Workflow file for this run

name: Run clang-format Linter
on:
push:
pull_request_target:
branches:
- main
- dev
workflow_dispatch:
jobs:
format:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
steps:
- uses: actions/checkout@v3
with:
# check out HEAD on the branch
ref: ${{ github.head_ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
# make sure the parent commit is grabbed as well, because
# that's what will get formatted (i.e. the most recent commit)
fetch-depth: 2
# format the latest commit
- uses: DoozyX/clang-format-lint-action@v0.16.2
with:
source: "."
exclude: "extern include"
extensions: "h,cpp,c,hlsl,hlsli"
clangFormatVersion: 16
inplace: True # commit the changes (if there are any)
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "style: 🎨 apply clang-format changes"
branch: ${{ github.head_ref }}