-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from q4a/bgfx-2022
Update bgfx and use SPIRV
- Loading branch information
Showing
10 changed files
with
475 additions
and
10 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build-linux: | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup | ||
run: | | ||
git submodule update --init --recursive | ||
- name: Install deps | ||
run: | | ||
sudo apt-get update && | ||
sudo apt-get install -y libsdl2-dev libgl1-mesa-dev x11proto-core-dev libx11-dev | ||
- name: Build bgfx | ||
run: | | ||
cd bgfx | ||
make -j$(nproc) linux-release64 | ||
- name: Build sample | ||
run: | | ||
make all |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
[submodule "bgfx"] | ||
path = bgfx | ||
url = git://github.com/bkaradzic/bgfx.git | ||
url = https://github.com/bkaradzic/bgfx | ||
[submodule "bimg"] | ||
path = bimg | ||
url = git://github.com/bkaradzic/bimg.git | ||
url = https://github.com/bkaradzic/bimg | ||
[submodule "bx"] | ||
path = bx | ||
url = git://github.com/bkaradzic/bx.git | ||
url = https://github.com/bkaradzic/bx |
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
Submodule bgfx
updated
8385 files
Submodule bimg
updated
45 files
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
$input v_color0 | ||
|
||
#include <bgfx_shader.sh> | ||
#include "shaderlib.sh" | ||
|
||
void main() | ||
{ | ||
gl_FragColor = v_color0; | ||
|
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
Oops, something went wrong.