Skip to content

Conversation

@coderabbitai
Copy link

@coderabbitai coderabbitai bot commented Nov 19, 2025

Docstrings generation was requested by @WSQS.

The following files were modified:

  • main.cpp
  • sdl_wrapper/sdl_wrapper.buffer.cpp
  • sdl_wrapper/sdl_wrapper.gpu.cpp
  • sdl_wrapper/sdl_wrapper.render_procedural.cpp
These file types are not supported
  • sdl_wrapper/CMakeLists.txt
  • sdl_wrapper/sdl_wrapper.buffer.ixx
  • sdl_wrapper/sdl_wrapper.decl.ixx
  • sdl_wrapper/sdl_wrapper.gpu.ixx
  • sdl_wrapper/sdl_wrapper.ixx
  • sdl_wrapper/sdl_wrapper.render_data.ixx
  • sdl_wrapper/sdl_wrapper.render_procedural.ixx
  • sdl_wrapper/sdl_wrapper.renderable.ixx
  • sdl_wrapper/sdl_wrapper.vertex_layout.ixx
ℹ️ Note

CodeRabbit cannot perform edits on its own pull requests yet.

Docstrings generation was requested by @WSQS.

* #34 (comment)

The following files were modified:

* `main.cpp`
* `sdl_wrapper/sdl_wrapper.buffer.cpp`
* `sdl_wrapper/sdl_wrapper.gpu.cpp`
* `sdl_wrapper/sdl_wrapper.render_procedural.cpp`
@coderabbitai coderabbitai bot requested a review from WSQS November 19, 2025 12:27
@coderabbitai coderabbitai bot mentioned this pull request Nov 19, 2025
@coderabbitai
Copy link
Author

coderabbitai bot commented Nov 19, 2025

Important

Review skipped

CodeRabbit bot authored PR detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

This commit fixes the style issues introduced in 79383bc according to the output
from ClangFormat.

Details: #35
@deepsource-io
Copy link
Contributor

deepsource-io bot commented Nov 19, 2025

Here's the code health analysis summary for commits 2b08cd1..186c07c. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource C & C++ LogoC & C++❌ Failure
❗ 1 occurence introduced
View Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

*
* Any failures to upload vertex data or update shaders are logged.
*
* @return SDL_AppResult SDL_APP_CONTINUE to indicate the application should continue running.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: method 'tick' can be made static [readability-convert-member-functions-to-static]

Suggested change
* @return SDL_AppResult SDL_APP_CONTINUE to indicate the application should continue running.
static SDL_AppResult tick()

* to clear and render the color target, uploads the camera uniform, binds vertex buffers
* and the graphics pipeline, issues the draw call, renders ImGui, and submits the command buffer.
*
* @return SDL_AppResult `SDL_APP_CONTINUE` to keep the application running.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: method 'draw' can be made const [readability-make-member-function-const]

Suggested change
* @return SDL_AppResult `SDL_APP_CONTINUE` to keep the application running.
SDL_AppResult draw() const

@github-actions
Copy link

clang-tidy review says "All clean, LGTM! 👍"

@WSQS WSQS merged commit a2112fc into vertex_layout Nov 19, 2025
6 of 23 checks passed
@WSQS WSQS deleted the coderabbitai/docstrings/2b08cd1 branch November 19, 2025 12:34
WSQS added a commit that referenced this pull request Nov 19, 2025
* fix: add comment for main.cpp

* fix: add method set_vertex_attributes for PipelineWrapper

* fix: using m_vertex_layout to calculate vertex

* fix:remove vertex layout from forward declaration

* fix:rename pipeline wrapper to render procedural

* feat:add method vertex_layout

* fix: remove struct Vertex and using byte array

* feat: rename function

* feat: rename variable

* fix: remove unused variable

* doc: clean up doc

* fix: create Transfer Buffer when created

* feat: add class render data

* fix:rename variable

* fix:rename variable

* fix:rename function

* fix:change operation order

* feat:add method get_buffer_binding

* feat:add member variable m_render_data

* feat:add missing header

* fix:remove unused member variable

* fix:change shader interface

* fix:add property m_layouts for RenderData

* feat:change imgui based onto vertex layout

* fix:remove buffer function

* fix:hide buffer module

* style: format code with ClangFormat

This commit fixes the style issues introduced in 6726b98 according to the output
from ClangFormat.

Details: #34

* Revert "fix:hide buffer module"

This reverts commit 6726b98.

* 📝 Add docstrings to `vertex_layout` (#35)

* 📝 Add docstrings to `vertex_layout`

Docstrings generation was requested by @WSQS.

* #34 (comment)

The following files were modified:

* `main.cpp`
* `sdl_wrapper/sdl_wrapper.buffer.cpp`
* `sdl_wrapper/sdl_wrapper.gpu.cpp`
* `sdl_wrapper/sdl_wrapper.render_procedural.cpp`

* style: format code with ClangFormat

This commit fixes the style issues introduced in 79383bc according to the output
from ClangFormat.

Details: #35

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

---------

Co-authored-by: Sophomore <sophomore@duck.com>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
WSQS added a commit that referenced this pull request Nov 20, 2025
* fix: add comment for main.cpp

* fix: add method set_vertex_attributes for PipelineWrapper

* fix: using m_vertex_layout to calculate vertex

* fix:remove vertex layout from forward declaration

* fix:rename pipeline wrapper to render procedural

* feat:add method vertex_layout

* fix: remove struct Vertex and using byte array

* feat: rename function

* feat: rename variable

* fix: remove unused variable

* doc: clean up doc

* fix: create Transfer Buffer when created

* feat: add class render data

* fix:rename variable

* fix:rename variable

* fix:rename function

* fix:change operation order

* feat:add method get_buffer_binding

* feat:add member variable m_render_data

* feat:add missing header

* fix:remove unused member variable

* fix:change shader interface

* fix:add property m_layouts for RenderData

* feat:change imgui based onto vertex layout

* fix:remove buffer function

* fix:hide buffer module

* style: format code with ClangFormat

This commit fixes the style issues introduced in 6726b98 according to the output
from ClangFormat.

Details: #34

* Revert "fix:hide buffer module"

This reverts commit 6726b98.

* 📝 Add docstrings to `vertex_layout` (#35)

* 📝 Add docstrings to `vertex_layout`

Docstrings generation was requested by @WSQS.

* #34 (comment)

The following files were modified:

* `main.cpp`
* `sdl_wrapper/sdl_wrapper.buffer.cpp`
* `sdl_wrapper/sdl_wrapper.gpu.cpp`
* `sdl_wrapper/sdl_wrapper.render_procedural.cpp`

* style: format code with ClangFormat

This commit fixes the style issues introduced in 79383bc according to the output
from ClangFormat.

Details: #35

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

---------

Co-authored-by: Sophomore <sophomore@duck.com>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
WSQS added a commit that referenced this pull request Nov 20, 2025
* feat: add module glsl reflector

* feat: implement glsl reflector

* Vertex layout (#34)

* fix: add comment for main.cpp

* fix: add method set_vertex_attributes for PipelineWrapper

* fix: using m_vertex_layout to calculate vertex

* fix:remove vertex layout from forward declaration

* fix:rename pipeline wrapper to render procedural

* feat:add method vertex_layout

* fix: remove struct Vertex and using byte array

* feat: rename function

* feat: rename variable

* fix: remove unused variable

* doc: clean up doc

* fix: create Transfer Buffer when created

* feat: add class render data

* fix:rename variable

* fix:rename variable

* fix:rename function

* fix:change operation order

* feat:add method get_buffer_binding

* feat:add member variable m_render_data

* feat:add missing header

* fix:remove unused member variable

* fix:change shader interface

* fix:add property m_layouts for RenderData

* feat:change imgui based onto vertex layout

* fix:remove buffer function

* fix:hide buffer module

* style: format code with ClangFormat

This commit fixes the style issues introduced in 6726b98 according to the output
from ClangFormat.

Details: #34

* Revert "fix:hide buffer module"

This reverts commit 6726b98.

* 📝 Add docstrings to `vertex_layout` (#35)

* 📝 Add docstrings to `vertex_layout`

Docstrings generation was requested by @WSQS.

* #34 (comment)

The following files were modified:

* `main.cpp`
* `sdl_wrapper/sdl_wrapper.buffer.cpp`
* `sdl_wrapper/sdl_wrapper.gpu.cpp`
* `sdl_wrapper/sdl_wrapper.render_procedural.cpp`

* style: format code with ClangFormat

This commit fixes the style issues introduced in 79383bc according to the output
from ClangFormat.

Details: #35

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

---------

Co-authored-by: Sophomore <sophomore@duck.com>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* feat: Implement glsl reflector into sdl wrapper

* feat: recreate data when shader update

* fix: add header file cstdint

* fix: import module

* fix: remove install for glslr

* fix: add time out for gtest_discover_tests

* fix:add head file to make in compile under mint

* fix: add and clean up header file

* style: format code with ClangFormat

This commit fixes the style issues introduced in 2061a92 according to the output
from ClangFormat.

Details: #36

---------

Co-authored-by: Sophomore <sophomore@duck.com>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants