Skip to content

New RHI infrastructure#129

Merged
kunitoki merged 49 commits into
mainfrom
dev/gpu_graphics_try_1
Jul 9, 2026
Merged

New RHI infrastructure#129
kunitoki merged 49 commits into
mainfrom
dev/gpu_graphics_try_1

Conversation

@kunitoki

@kunitoki kunitoki commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Rotating Cube Image

  • Introduced optional glslang + SPIRV-Cross + SPIRV-Tools
  • Added ShaderTranspiler to transpile shaders and access ShaderReflection
  • Added ShaderBundle format and ShaderBundleCompiler
  • Introduced the yup_shader_bundler app to bundle transpiled shaders
  • Integrated yup_shader_bundler app in cmake for ease embedding of shaders
  • Added RHI infrastructure and wired with the ShaderBundle format:
    • GpuTexture
    • GpuCanvas
    • GpuBuffer
    • GpuPipeline
    • GpuPipelineCache
    • GpuRenderPass
    • GpuFrame

kunitoki added 14 commits July 4, 2026 14:32
(cherry picked from commit 02f46e0f9099e056bed138140e35178ff84c51af)
# Conflicts:
#	thirdparty/rive_renderer/rive_renderer.cpp
#	thirdparty/rive_renderer/rive_renderer_android.cpp
#	thirdparty/rive_renderer/rive_renderer_apple.mm
#	thirdparty/rive_renderer/rive_renderer_emscripten.cpp
#	thirdparty/rive_renderer/rive_renderer_linux.cpp
#	thirdparty/rive_renderer/rive_renderer_windows.cpp
@codecov

codecov Bot commented Jul 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 76.97291% with 391 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.46%. Comparing base (c3f1c43) to head (28846f5).

Files with missing lines Patch % Lines
modules/yup_graphics/rhi/yup_GpuPipeline.cpp 65.99% 168 Missing ⚠️
modules/yup_graphics/rhi/yup_GpuRenderPass.cpp 57.65% 83 Missing ⚠️
modules/yup_graphics/rhi/yup_GpuCanvas.cpp 64.38% 26 Missing ⚠️
modules/yup_graphics/graphics/yup_Graphics.cpp 34.37% 21 Missing ⚠️
modules/yup_graphics/rhi/yup_GpuTexture.cpp 52.63% 18 Missing ⚠️
...dules/yup_shading/shading/yup_ShaderTranspiler.cpp 68.51% 17 Missing ⚠️
modules/yup_graphics/rhi/yup_GpuPipelineCache.cpp 90.35% 11 Missing ⚠️
modules/yup_graphics/imaging/yup_Image.cpp 88.75% 9 Missing ⚠️
modules/yup_shading/shading/yup_ShaderBundle.cpp 96.58% 7 Missing ⚠️
...s/yup_shading/shading/yup_ShaderBundleCompiler.cpp 83.78% 6 Missing ⚠️
... and 14 more
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #129      +/-   ##
==========================================
+ Coverage   79.28%   79.46%   +0.17%     
==========================================
  Files         684      703      +19     
  Lines       68265    69666    +1401     
==========================================
+ Hits        54127    55360    +1233     
- Misses      14138    14306     +168     
Files with missing lines Coverage Δ
modules/yup_animation/core/yup_AnimationEasing.cpp 98.48% <ø> (ø)
modules/yup_animation/core/yup_AnimationProperty.h 98.78% <ø> (ø)
...ules/yup_animation/core/yup_AnimationTransform.cpp 82.60% <ø> (ø)
...yup_animation/io/yup_LottieExpressionEvaluator.cpp 89.78% <ø> (ø)
modules/yup_animation/io/yup_LottieReader.cpp 76.95% <100.00%> (ø)
...les/yup_animation/model/yup_AnimationComposition.h 87.50% <ø> (ø)
modules/yup_animation/model/yup_AnimationKeyPath.h 100.00% <ø> (ø)
modules/yup_animation/model/yup_AnimationLayer.h 71.42% <ø> (ø)
modules/yup_animation/model/yup_AnimationPaint.cpp 57.84% <ø> (ø)
modules/yup_animation/model/yup_AnimationPaint.h 50.00% <ø> (ø)
... and 50 more

... and 8 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c3f1c43...28846f5. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@kunitoki kunitoki changed the title Improved Graphics New RHI infrastructure Jul 9, 2026
@kunitoki kunitoki merged commit 21a4276 into main Jul 9, 2026
40 checks passed
@kunitoki kunitoki deleted the dev/gpu_graphics_try_1 branch July 9, 2026 13:02
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.

1 participant