Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
cd14b69
feat: add class PileLineWrapper
WSQS Nov 11, 2025
4c8fae5
feat: add pipe line wrapper to User App
Sophomore42 Nov 12, 2025
51b78f3
refactor: rename class
Sophomore42 Nov 12, 2025
353ac03
feat:code rabbit enable auto_apply_labels
Sophomore42 Nov 12, 2025
788e2ce
fix: add check before release pipeline
WSQS Nov 12, 2025
c15f74d
fix:handle SDL_CreateGPUGraphicsPipeline error
WSQS Nov 12, 2025
46e77a7
fix:call sdl init before app init
WSQS Nov 12, 2025
9a086de
feat: add class gpu wrapper
WSQS Nov 12, 2025
55d0db8
style: format code with ClangFormat
deepsource-autofix[bot] Nov 12, 2025
0541f8e
📝 Add docstrings to `pipiline` (#8)
coderabbitai[bot] Nov 12, 2025
6e670ef
fix:change log
WSQS Nov 12, 2025
cf79f66
fix:cadd check for gpu wrapper
WSQS Nov 12, 2025
06cf31e
fix:using gpu wrapper in buffer wrapper
WSQS Nov 12, 2025
99a824f
fix:rename variable
WSQS Nov 12, 2025
9cd5876
fix:change vertex buffer to value semantics
WSQS Nov 12, 2025
acd6c4c
style: format code with ClangFormat
deepsource-autofix[bot] Nov 12, 2025
6bbdfd0
fix: remote typo
WSQS Nov 12, 2025
9796426
break: split implement unit of module
WSQS Nov 12, 2025
9097331
style: format code with ClangFormat
deepsource-autofix[bot] Nov 12, 2025
3505ce7
fix: add log for windows ci
WSQS Nov 12, 2025
f388c65
fix: rename log name
WSQS Nov 12, 2025
f75fa22
fix: Add type
WSQS Nov 12, 2025
c8b39e9
style: format code with ClangFormat
deepsource-autofix[bot] Nov 12, 2025
b6a0af4
fix: Add module unit sdl_wrapper:decl
WSQS Nov 12, 2025
f653546
Fix resource leak (#10)
WSQS Nov 13, 2025
a20179b
fix: remove todo, the destroy order is defined by shared_ptr
Sophomore42 Nov 13, 2025
60d5ebd
feat: add function create_buffer to GpuWrapper
Sophomore42 Nov 13, 2025
7f6eaef
style: format code with ClangFormat
deepsource-autofix[bot] Nov 13, 2025
3deb023
📝 Add docstrings to `pipiline` (#9)
coderabbitai[bot] Nov 13, 2025
28c6119
Add workflow clang-tidy-review
Sophomore42 Nov 13, 2025
ab1c8dc
fix:workflow set compiler
Sophomore42 Nov 13, 2025
cec23f3
fix:install package for ubuntu
Sophomore42 Nov 13, 2025
00774bc
fix:add parameter
Sophomore42 Nov 13, 2025
d8c575c
fix:add parameter
Sophomore42 Nov 13, 2025
12597cb
fix:add permission
Sophomore42 Nov 13, 2025
ebc3375
fix:remove bom
Sophomore42 Nov 13, 2025
c06b349
fix:change command
Sophomore42 Nov 13, 2025
68d7f67
Add workflow Gen pr (#16)
WSQS Nov 13, 2025
db03e22
feat: let gpu create pipeline
WSQS Nov 13, 2025
4a3cb86
style: format code with ClangFormat
deepsource-autofix[bot] Nov 13, 2025
721f0ef
Remove unused headfile
WSQS Nov 13, 2025
cf8dc7a
style: format code with ClangFormat
deepsource-autofix[bot] Nov 13, 2025
d1faa0a
fix: change comment
WSQS Nov 13, 2025
d9851ce
fix: add header file
WSQS Nov 13, 2025
415b169
style: format code with ClangFormat
deepsource-autofix[bot] Nov 13, 2025
f7e16bd
fix: remove unused file.
WSQS Nov 13, 2025
4966f3d
📝 Add docstrings to `pipiline` (#17)
coderabbitai[bot] Nov 13, 2025
2859b48
fix: from optional to value
WSQS Nov 13, 2025
09827b9
feat: add compile command
WSQS Nov 13, 2025
b70c22e
feat:implement pipeline_wrapper
WSQS Nov 13, 2025
f157b68
style: format code with ClangFormat
deepsource-autofix[bot] Nov 13, 2025
9f029ee
fix: shader length error
Sophomore42 Nov 14, 2025
e6d2b2e
fix: rename variable
Sophomore42 Nov 14, 2025
1aac303
fix: rename function
Sophomore42 Nov 14, 2025
9a9335a
fix: change shader code
Sophomore42 Nov 14, 2025
7a9e1f7
fix: avoid resource leak
Sophomore42 Nov 14, 2025
484d9d4
fix: change primitive type
Sophomore42 Nov 14, 2025
f34ca76
📝 Add docstrings to `pipiline` (#19)
coderabbitai[bot] Nov 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .coderabbit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ reviews:
related_prs: true
suggested_labels: true
labeling_instructions: []
auto_apply_labels: false
auto_apply_labels: true
suggested_reviewers: true
auto_assign_reviewers: false
in_progress_fortune: true
Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/clang-tidy-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: clang-tidy-review

on:
pull_request:

jobs:
clang-tidy-review:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install SDL windowing deps (Linux)
run: |
sudo apt-get update
sudo apt-get install -y \
build-essential cmake ninja-build pkg-config gcc g++ clang git python3 python3-pip \
libasound2-dev libjack-jackd2-dev libpulse-dev \
xorg-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libxtst-dev \
libxkbcommon-dev wayland-protocols libwayland-dev \
libdrm-dev mesa-common-dev mesa-utils

- name: Configure CMake
run: |
cmake -S ${{ github.workspace }} \
-B build \
-G Ninja \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON

- name: Run clang-tidy-review
uses: ZedThree/clang-tidy-review@v0.21.0
id: review
with:
token: ${{ secrets.GITHUB_TOKEN }}
build_dir: build
15 changes: 14 additions & 1 deletion .github/workflows/cmake-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,20 @@ jobs:

- name: Build
# Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }}
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} 1> build.log 2>&1
shell: pwsh

- name: Print log tail on failure
if: failure()
run: Get-Content build.log -Tail 200
shell: pwsh

- name: Upload full build log
if: always()
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-${{ matrix.c_compiler }}-${{ matrix.build_type }}-build-log-${{ github.sha }}
path: build.log

- name: Test
working-directory: ${{ steps.strings.outputs.build-output-dir }}
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/gen-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Generate PR with AI

on:
workflow_dispatch:
inputs:
issue-number:
description: "Issue number to implement"
required: true
type: number

jobs:
gen-pr:
runs-on: ubuntu-latest

permissions:
contents: write
pull-requests: write
issues: read

env:
GH_TOKEN: ${{ github.token }}
OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Generate PR from issue using OpenRouter
uses: WillBooster/gen-pr@v4.1.4
with:
issue-number: ${{ inputs.issue-number }}
aider-extra-args: "--model openrouter/openrouter/polaris-alpha"
verbose: true
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
include(FetchContent)

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

set(FETCHCONTENT_QUIET OFF CACHE BOOL "" FORCE)
set(CMAKE_DOWNLOAD_NO_PROGRESS OFF CACHE BOOL "" FORCE)
set(CMAKE_MESSAGE_LOG_LEVEL STATUS CACHE STRING "" FORCE)
Expand Down Expand Up @@ -95,7 +97,7 @@ target_link_libraries(imgui PUBLIC SDL3::SDL3)
add_subdirectory(sdl_wrapper)

add_executable(SDL_TEST main.cpp)
target_link_libraries(SDL_TEST PRIVATE shaderc imgui sdl_wrapper)
target_link_libraries(SDL_TEST PRIVATE imgui sdl_wrapper)


include(GNUInstallDirs)
Expand Down
12 changes: 12 additions & 0 deletions gen-pr.config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# gen-pr.config.yml
planning-model: openrouter/openrouter/polaris-alpha
reasoning-effort: high

repomix-extra-args: "--compress --remove-empty-lines --include '**/*.cpp' --include '**/*.ixx'"

coding-tool: aider
aider-extra-args: "--model openrouter/openrouter/polaris-alpha"
verbose: true

# Run build tests after code generation
test-command: "cmake -S . -B build"
Loading