Skip to content

refactor: use template literal for _derivedDefines in ShaderFactory

db80ad5
Select commit
Loading
Failed to load commit list.
Open

feat(core): GPU instancing auto-batching #2957

refactor: use template literal for _derivedDefines in ShaderFactory
db80ad5
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Apr 15, 2026 in 1s

76.63% (-0.76%) compared to a54642f

View this Pull Request on Codecov

76.63% (-0.76%) compared to a54642f

Details

Codecov Report

❌ Patch coverage is 40.19015% with 692 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.63%. Comparing base (a54642f) to head (db80ad5).
⚠️ Report is 3 commits behind head on dev/2.0.

Files with missing lines Patch % Lines
packages/core/src/shaderlib/ShaderFactory.ts 42.19% 174 Missing ⚠️
examples/src/gpu-instancing-auto-batch.ts 0.00% 116 Missing and 1 partial ⚠️
examples/src/gpu-instancing-custom-data.ts 0.00% 82 Missing and 1 partial ⚠️
e2e/case/gpu-instancing-custom-data.ts 0.00% 45 Missing and 1 partial ⚠️
packages/core/src/RenderPipeline/InstanceBatch.ts 50.53% 46 Missing ⚠️
e2e/case/gpu-instancing-auto-batch.ts 0.00% 42 Missing and 1 partial ⚠️
packages/core/src/RenderPipeline/RenderQueue.ts 50.00% 37 Missing ⚠️
packages/core/src/shader/ShaderProgram.ts 52.63% 27 Missing ⚠️
packages/core/src/RenderPipeline/BatchUtils.ts 15.78% 16 Missing ⚠️
packages/core/src/shader/ShaderUniform.ts 50.00% 16 Missing ⚠️
... and 17 more
Additional details and impacted files
@@             Coverage Diff             @@
##           dev/2.0    #2957      +/-   ##
===========================================
- Coverage    77.38%   76.63%   -0.76%     
===========================================
  Files          900      907       +7     
  Lines        98752    99573     +821     
  Branches      9817     9819       +2     
===========================================
- Hits         76415    76303     -112     
- Misses       22170    23097     +927     
- Partials       167      173       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 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.