Added runtime shader compiler on linux (#339)
* Added runtime shader compiler on linux * dxcapi path fix * linux: shaderdump generation on github CI * linux: worker thread shutdown fix * thread safety in worker shutdown * cmake fix? Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
This commit is contained in:
@@ -88,6 +88,13 @@ jobs:
|
||||
cd build
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Release
|
||||
make
|
||||
echo "---Generating Shader Dump---"
|
||||
cd WickedEngine
|
||||
./offlineshadercompiler spirv rebuild shaderdump
|
||||
mv wiShaderDump.h ../../WickedEngine/
|
||||
cd ..
|
||||
echo "---Rebuilding with ShaderDump---"
|
||||
make -B
|
||||
|
||||
- name: Move binaries
|
||||
run: |
|
||||
@@ -99,7 +106,6 @@ jobs:
|
||||
with:
|
||||
name: Editor (Ubuntu 20.04)
|
||||
path: |
|
||||
Editor/shaders/spirv/*.cso
|
||||
Content/
|
||||
README.md
|
||||
LICENSE.md
|
||||
@@ -117,7 +123,6 @@ jobs:
|
||||
with:
|
||||
name: Tests (Ubuntu 20.04)
|
||||
path: |
|
||||
Tests/shaders/spirv/*.cso
|
||||
Content/
|
||||
README.md
|
||||
LICENSE.md
|
||||
|
||||
@@ -87,6 +87,13 @@ jobs:
|
||||
cd build
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Release
|
||||
make
|
||||
echo "---Generating Shader Dump---"
|
||||
cd WickedEngine
|
||||
./offlineshadercompiler spirv rebuild shaderdump
|
||||
mv wiShaderDump.h ../../WickedEngine/
|
||||
cd ..
|
||||
echo "---Rebuilding with ShaderDump---"
|
||||
make -B
|
||||
|
||||
- name: Move binaries
|
||||
run: |
|
||||
@@ -98,7 +105,6 @@ jobs:
|
||||
with:
|
||||
name: Editor (Ubuntu 20.04)
|
||||
path: |
|
||||
Editor/shaders/spirv/*.cso
|
||||
Content/
|
||||
README.md
|
||||
LICENSE.md
|
||||
@@ -116,7 +122,6 @@ jobs:
|
||||
with:
|
||||
name: Tests (Ubuntu 20.04)
|
||||
path: |
|
||||
Tests/shaders/spirv/*.cso
|
||||
Content/
|
||||
README.md
|
||||
LICENSE.md
|
||||
|
||||
@@ -88,6 +88,14 @@ jobs:
|
||||
cd build
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Release
|
||||
make
|
||||
echo "---Generating Shader Dump---"
|
||||
cd WickedEngine
|
||||
./offlineshadercompiler spirv rebuild shaderdump
|
||||
mv wiShaderDump.h ../../WickedEngine/
|
||||
cd ..
|
||||
echo "---Rebuilding with ShaderDump---"
|
||||
make -B
|
||||
|
||||
|
||||
- name: Move binaries
|
||||
run: |
|
||||
@@ -99,7 +107,6 @@ jobs:
|
||||
with:
|
||||
name: Editor (Ubuntu 20.04)
|
||||
path: |
|
||||
Editor/shaders/spirv/*.cso
|
||||
Content/
|
||||
README.md
|
||||
LICENSE.md
|
||||
@@ -117,7 +124,6 @@ jobs:
|
||||
with:
|
||||
name: Tests (Ubuntu 20.04)
|
||||
path: |
|
||||
Tests/shaders/spirv/*.cso
|
||||
Content/
|
||||
README.md
|
||||
LICENSE.md
|
||||
|
||||
Reference in New Issue
Block a user