Skip to content

nzslc: Add support for struct reflection - #94

Merged
SirLynix merged 3 commits into
mainfrom
reflection
Aug 6, 2026
Merged

nzslc: Add support for struct reflection#94
SirLynix merged 3 commits into
mainfrom
reflection

Better reflect types

2e42a30
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 6, 2026 in 0s

76.31% (-0.26%) compared to 4f0cd74

View this Pull Request on Codecov

76.31% (-0.26%) compared to 4f0cd74

Details

Codecov Report

❌ Patch coverage is 39.66942% with 146 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.31%. Comparing base (4f0cd74) to head (2e42a30).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/ShaderCompiler/Compiler.cpp 34.13% 97 Missing and 13 partials ⚠️
src/NZSL/Parser.cpp 38.70% 19 Missing ⚠️
include/NZSL/Ast/ExpressionType.inl 41.66% 7 Missing ⚠️
src/NZSL/Ast/Utils.cpp 16.66% 5 Missing ⚠️
src/NZSL/Ast/ExpressionType.cpp 0.00% 2 Missing ⚠️
src/NZSL/Ast/AstSerializer.cpp 0.00% 1 Missing ⚠️
...NZSL/Ast/Transformations/ValidationTransformer.cpp 0.00% 1 Missing ⚠️
tests/src/Tests/NzslcTests.cpp 90.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #94      +/-   ##
==========================================
- Coverage   76.56%   76.31%   -0.26%     
==========================================
  Files         205      205              
  Lines       25433    25638     +205     
  Branches     7806     7549     -257     
==========================================
+ Hits        19474    19565      +91     
- Misses       5859     5951      +92     
- Partials      100      122      +22     
Files with missing lines Coverage Δ
include/NZSL/Ast/ExpressionType.hpp 91.66% <ø> (ø)
...rc/NZSL/Ast/Transformations/ResolveTransformer.cpp 83.43% <100.00%> (-0.03%) ⬇️
src/NZSL/LangWriter.cpp 87.70% <100.00%> (+0.03%) ⬆️
src/ShaderCompiler/Compiler.hpp 100.00% <ø> (ø)
src/NZSL/Ast/AstSerializer.cpp 84.84% <0.00%> (+0.10%) ⬆️
...NZSL/Ast/Transformations/ValidationTransformer.cpp 67.60% <0.00%> (ø)
tests/src/Tests/NzslcTests.cpp 95.12% <90.00%> (-1.66%) ⬇️
src/NZSL/Ast/ExpressionType.cpp 49.56% <0.00%> (+2.20%) ⬆️
src/NZSL/Ast/Utils.cpp 75.20% <16.66%> (ø)
include/NZSL/Ast/ExpressionType.inl 59.60% <41.66%> (-0.44%) ⬇️
... and 2 more

... and 6 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 a64d72b...2e42a30. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.