ci: shader gate bakes with qsb >= 6.9 and mirrors build.rs's -b rule
The GLSL 1.20 variant must stay in plasma/ambient's packs: Qt's OpenGL RHI selects 120/130/140 on desktop GL <= 3.1 and the renderer tier does not exclude that hardware, so dropping it (the previous attempt) was a regression for old GL — caught in review. qsb 6.8 cannot lower those shaders' uint hash constants for 1.20 while 6.9+ can, and the committed .qsb were baked with 6.11: the bake toolchain is therefore pinned apart from the 6.8 runtime floor (vars.QT_VERSION_SHADERTOOLS, default 6.9.3). The gate also passes -b only to vertex shaders without the no-batch marker, exactly like build.rs. cc
This commit is contained in:
2 files changed
+24
-6
No files matched your search
@@ -90,18 +90,23 @@ jobs:
|
||||
./scripts/cargo-test.sh
|
||||
echo "cargo test wall time: $(( $(date +%s) - START ))s"
|
||||
|
||||
# Every shader must bake with the pinned qsb. Separate job so qsb is never
|
||||
# on PATH while cargo runs (see qt-gate).
|
||||
# Every shader must bake. Separate job so qsb is never on PATH while cargo
|
||||
# runs (see qt-gate). The BAKE toolchain is pinned apart from the runtime
|
||||
# floor: the committed .qsb need qsb >= 6.9 (plasma/ambient's uint hash
|
||||
# constants vs the GLSL 1.20 variant, which desktop GL <= 3.1 selects at
|
||||
# runtime, so it must stay in the pack) — see shader_bake_gate.sh.
|
||||
shader-gate:
|
||||
name: shader bake gate
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 15
|
||||
env:
|
||||
QT_SHADERTOOLS_VERSION: ${{ vars.QT_VERSION_SHADERTOOLS || '6.9.3' }}
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
- name: Install Qt ${{ env.QT_VERSION }} + shader tools
|
||||
- name: Install Qt ${{ env.QT_SHADERTOOLS_VERSION }} + shader tools
|
||||
uses: jurplel/install-qt-action@v4
|
||||
with:
|
||||
version: ${{ env.QT_VERSION }}
|
||||
version: ${{ env.QT_SHADERTOOLS_VERSION }}
|
||||
host: linux
|
||||
target: desktop
|
||||
arch: linux_gcc_64
|
||||
|
||||
Reference in new issue
Block a user