mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-21 22:33:49 +00:00
Use Vulkan SDK for shader validation (#5202)
This commit is contained in:
parent
01e94bc9b3
commit
c2c0d5f400
21
.github/workflows/shaders.yml
vendored
21
.github/workflows/shaders.yml
vendored
@ -8,6 +8,9 @@ on:
|
||||
merge_group:
|
||||
|
||||
env:
|
||||
# Sourced from https://vulkan.lunarg.com/sdk/home#linux
|
||||
VULKAN_SDK_VERSION: "1.3.268"
|
||||
|
||||
# Sourced from https://github.com/microsoft/DirectXShaderCompiler/releases
|
||||
#
|
||||
# Must also be changed in ci.yaml
|
||||
@ -81,8 +84,22 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install tools
|
||||
run: sudo apt-get install spirv-tools glslang-tools graphviz
|
||||
- name: install vulkan sdk
|
||||
shell: bash
|
||||
run: |
|
||||
set -e
|
||||
|
||||
sudo apt-get update -y -qq
|
||||
|
||||
# vulkan sdk
|
||||
wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add -
|
||||
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-$VULKAN_SDK_VERSION-jammy.list https://packages.lunarg.com/vulkan/$VULKAN_SDK_VERSION/lunarg-vulkan-$VULKAN_SDK_VERSION-jammy.list
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt install -y vulkan-sdk
|
||||
|
||||
- name: Install graphviz
|
||||
run: sudo apt-get install graphviz
|
||||
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user