Validate D3D12 alignment requirement when copying from a buffer to a … #2000
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows (Direct3D 11) | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get Submodules | |
run: .\get_dlc.bat | |
- name: Compile | |
run: .\make.bat -v vs2022 -g direct3d11 --kinc . --from Tests/Empty --compile | |
- name: Get ImageMagick | |
run: | | |
choco install -y imagemagick.app --no-progress | |
Get-ChildItem -Path "${env:ProgramFiles}" | Where-Object {($_.Name -Like 'ImageMagick*')} | % { $_.FullName } | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8 | |
- name: Compile and run Test 1 | |
run: .\make.bat -v vs2022 -g direct3d11 --kinc . --from Tests/Shader --run | |
- name: Check Test 1 | |
run: magick compare -metric mae .\Tests\Shader\reference.png .\Tests\Shader\Deployment\test.png difference.png | |
- name: Compile and run Test 2 (SIMD) | |
run: .\make.bat -v vs2022 --kinc . --from Tests/SIMD --compile --run |