Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace vlkx with rx #33

Open
wants to merge 66 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
703381b
MSVC and GCC mostly working on WIN32
dpeter99 Aug 23, 2023
33548e7
Working msvc debugging
dpeter99 Aug 23, 2023
1710de3
Start versioning the clion config
dpeter99 Aug 23, 2023
282e190
Add clion config
dpeter99 Aug 23, 2023
1a48f18
Fix gcc complaining about vk memory lib
dpeter99 Aug 23, 2023
24989a9
Add test game etitor run cofing
dpeter99 Aug 23, 2023
ba86969
fix actor get name
TheCurle Aug 23, 2023
834910d
Add allocation debugger info
dpeter99 Aug 23, 2023
11ed535
Added fetch content for dx12 and dxmath
dpeter99 Aug 23, 2023
23d7dc6
Fix dxmath for winlibs use the header in shadow-engine/math
dpeter99 Aug 23, 2023
17fa34f
Dx12 setup
dpeter99 Aug 24, 2023
0b2bcf8
Code cleanup
dpeter99 Aug 24, 2023
8c52f6a
Move spdlog and imgui to submodules
dpeter99 Aug 24, 2023
d6cf894
[WIP] big rework
dpeter99 Aug 25, 2023
8701402
Big code reorganization
dpeter99 Aug 28, 2023
bcfb5f4
Linux builds and library management
dpeter99 Sep 2, 2023
c222687
Docs and cleanup
dpeter99 Sep 3, 2023
d752abb
Fix windows builds
dpeter99 Sep 13, 2023
b4e4007
Small fixes for linux build
dpeter99 Sep 15, 2023
4f62e67
Some cleanup
dpeter99 Sep 22, 2023
77af384
Fix submodules
dpeter99 Sep 22, 2023
c9f0d91
Fix sal build
dpeter99 Sep 22, 2023
d2e24c6
Rebase curle/render
dpeter99 Jan 19, 2024
c173a1a
Added folder layout docs
dpeter99 Jan 19, 2024
4a8ccba
Fix setup
TheCurle Apr 3, 2024
086e327
Add Platform-specific Threads, and the Profiler interface.
TheCurle Apr 4, 2024
fdf2855
Finish Profiler, update Time with platform-specific precision method
TheCurle Apr 5, 2024
9815fba
Add missing Common header
TheCurle Apr 5, 2024
7a0e68b
Dump Work
TheCurle Apr 5, 2024
2b9bf8f
Finish font compilability
TheCurle Jun 30, 2024
ba36467
Remove Vulkan wrapper, move to rx rendering
TheCurle Jul 1, 2024
50666d3
Fix most compiler complaints
TheCurle Jul 1, 2024
003dc3a
fix compiler complaints
TheCurle Jul 1, 2024
32fbeee
finish implement ImageRenderer
TheCurle Jul 1, 2024
e41ee68
restart vulkan interface
TheCurle Jul 1, 2024
90529a8
vulkan interface header
TheCurle Jul 11, 2024
5668a43
Documentation pass
TheCurle Jul 15, 2024
32d640d
Rename structs that conflict in the Vulkan interface
TheCurle Jul 17, 2024
fc3b762
Implement the Vulkan Interface's internal struct management
TheCurle Jul 17, 2024
f3f415d
Vulkan initialization
TheCurle Jul 22, 2024
a5c952b
Remove errant closing parentheses
TheCurle Jul 22, 2024
78bc8f7
Vulkan signalling overhaul, destructor.
TheCurle Jul 22, 2024
121272d
Fix errored isValid calls
TheCurle Jul 22, 2024
ae6a9e6
Renderer internal state
TheCurle Jul 26, 2024
0ce5a08
Job management system, still WIP
TheCurle Jul 26, 2024
b35d780
Add more renderer state
TheCurle Jul 28, 2024
9e1992f
Consistency refactor
TheCurle Jul 28, 2024
3cc3744
Add dxc to the Vulkan module
TheCurle Jul 28, 2024
a44138a
Refactor shaders out of the renderer base, Shader Compiler header
TheCurle Jul 28, 2024
bda3cfe
Shader Compiler Content, using dxc for cross platform builds
TheCurle Jul 29, 2024
4cf27e4
Update comments on Job.h
TheCurle Jul 29, 2024
7849f7f
Renderer context updates, use jobs
TheCurle Jul 29, 2024
e562809
Minor documentation update
TheCurle Jul 29, 2024
6d125d4
Temporarily move assets to use the PathID copy
TheCurle Aug 18, 2024
49c1044
Rework Filesystem to allow a direct read to a buffer
TheCurle Aug 18, 2024
ae3c894
Renderer initialization work
TheCurle Aug 18, 2024
7a04526
Working towards rendering to screen
TheCurle Aug 19, 2024
2703879
Texture Creation
TheCurle Aug 19, 2024
57ed10f
Debug name setting
TheCurle Aug 19, 2024
0c3c57e
Swapchain rendering pass begin
TheCurle Aug 19, 2024
efcffd7
Fix swapchain type error
TheCurle Aug 20, 2024
2362233
Renderpass to image
TheCurle Aug 20, 2024
df491ff
Renderpass end barriers
TheCurle Aug 20, 2024
422220b
Viewports & events
TheCurle Aug 20, 2024
3891fae
Implement RFC 1
TheCurle Aug 20, 2024
668b89b
Add missing implementation macros
TheCurle Aug 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
138 changes: 69 additions & 69 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,69 +1,69 @@
name: Build and Test

on:
push:
branches: [ main, bazel-setup ]
paths-ignore:
- 'projs/docs/**'
- 'specs/**'

jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive


- name: Install bazelisk
run: |
choco install bazelisk

- name: Add msbuild to PATH
uses: microsoft/[email protected]

- name: Build
run: |
bazel build //...

- name: use cache
uses: actions/cache@v2
with:
path: "./bazel-bin/projs"
key: ${{ runner.os }}-${{ github.run_id }}

- name: Upload shadow-engine artifact
uses: actions/upload-artifact@v3
with:
name: ${{ needs.update.outputs.old_version_name }}-${{ needs.update.outputs.new_version_name }}-patch
path: './bazel-bin/projs/shadow-engine/**/*'

test-sff:
runs-on: windows-latest
needs: build
permissions:
contents: read
issues: read
checks: write
pull-requests: write
steps:
- name: use cache
uses: actions/cache@v2
with:
path: "./bazel-bin/projs"
key: ${{ runner.os }}-${{ github.run_id }}

- name: Make output folder
run: mkdir ./test-results

- name: Test shadow-file-format
run: ./bazel-bin/projs/shadow-file-format/test.exe -r junit -o ./test-results/shadow-file-format-test.xml

- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action/composite@v1
if: always()
with:
files: "test-results/**/*.xml"

name: Build and Test
on:
push:
branches: [ main, bazel-setup ]
paths-ignore:
- 'projs/docs/**'
- 'specs/**'
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: Install bazelisk
run: |
choco install bazelisk
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- name: Build
run: |
bazel build //...
- name: use cache
uses: actions/cache@v2
with:
path: "./bazel-bin/projs"
key: ${{ runner.os }}-${{ github.run_id }}
- name: Upload shadow-engine artifact
uses: actions/upload-artifact@v3
with:
name: ${{ needs.update.outputs.old_version_name }}-${{ needs.update.outputs.new_version_name }}-patch
path: './bazel-bin/projs/shadow-engine/**/*'
test-sff:
runs-on: windows-latest
needs: build
permissions:
contents: read
issues: read
checks: write
pull-requests: write
steps:
- name: use cache
uses: actions/cache@v2
with:
path: "./bazel-bin/projs"
key: ${{ runner.os }}-${{ github.run_id }}
- name: Make output folder
run: mkdir ./test-results
- name: Test shadow-file-format
run: ./bazel-bin/projs/shadow-file-format/test.exe -r junit -o ./test-results/shadow-file-format-test.xml
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action/composite@v1
if: always()
with:
files: "test-results/**/*.xml"
30 changes: 14 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
bin/
obj/
/packages/
riderModule.iml
/_ReSharper.Caches/


test-results
cmake-build-vs-debug/
cmake-build-debug/
cmake-build-debug-msvc/
cmake-build-debug-msvc-vs/
out/
.vs/
/.idea/
/cmake-build-debug-mingw/
bin/
obj/
/packages/
riderModule.iml
/_ReSharper.Caches/


test-results
cmake-build-vs-debug/
cmake-build-debug/
cmake-build-debug-msvc/
cmake-build-debug-msvc-vs/
out/
.vs/
21 changes: 21 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[submodule "projs/shadow/extern/spdlog"]
path = projs/shadow/extern/spdlog
url = https://github.com/gabime/spdlog.git
[submodule "projs/shadow/extern/imgui"]
path = projs/shadow/extern/imgui
url = https://github.com/ocornut/imgui
[submodule "projs/shadow/extern/dxmath"]
path = projs/shadow/extern/dxmath
url = https://github.com/microsoft/DirectXMath.git
[submodule "projs/shadow/extern/catch2"]
path = projs/shadow/extern/catch2
url = https://github.com/catchorg/Catch2.git
[submodule "projs/shadow/extern/glm"]
path = projs/shadow/extern/glm
url = https://github.com/g-truc/glm.git
[submodule "projs/shadow/extern/dylib"]
path = projs/shadow/extern/dylib
url = https://github.com/martin-olivier/dylib
[submodule "projs/shadow/extern/vulkan_memory_allocator"]
path = projs/shadow/extern/vulkan_memory_allocator
url = https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/cmake.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

73 changes: 73 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/customTargets.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/fileTemplates/Shadow Entitiy Header.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/fileTemplates/Shadow Entitiy.cpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/fileTemplates/internal/C++ Class Header.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/fileTemplates/internal/C++ Class.cc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/runConfigurations/test_game.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading