Skip to content

Material IR Complete#1075

Merged
devshgraphicsprogramming merged 74 commits into
masterfrom
material_ir_special_functions
May 21, 2026
Merged

Material IR Complete#1075
devshgraphicsprogramming merged 74 commits into
masterfrom
material_ir_special_functions

Conversation

@devshgraphicsprogramming
Copy link
Copy Markdown
Member

@devshgraphicsprogramming devshgraphicsprogramming commented May 20, 2026

Description

AST->IR transcribe is complete, now just need another PR with IR-2-IR layer rewriting.

Total redesign of the dependency between FrontendIR and TrueIR

Lots of minor improvements:

  • base64 to_string_helper for blake3 hashes
  • frontend deepCopy methods
  • material reciprocation fixes
  • other stuff

Testing

Every Mitsuba scene loads without errors

TODO list:

Nothing

create a session struct for the IR material adding, has a temporary IR to make temporary IR nodes before deduplication and compression
…nt frontends (much like it doesn't know about the backends)
…NodePool` to `CTrueIR`

repurpose the CTrueIR::INode hash computation to also validate
…, stuff the Cook Torrance NDF and eta reciprocation into param.padding of the 3 params, move out contributor creation to a util function
…FrontendIR::CSpectralVariable, epic debug mesages
…, set up the error BxDF and layer in CTrueIR
…dIR) but realize its all just duplicate code
… because there's non-MUL nodes along the way too
keptsecret and others added 28 commits May 12, 2026 16:21
Also change how reciprocation works in the AST
…er_type::operator<=> pertaining to static casts and autoconversions, leave as TODO
@devshgraphicsprogramming devshgraphicsprogramming merged commit 68ed2fa into master May 21, 2026
24 checks passed
@devshgraphicsprogramming devshgraphicsprogramming deleted the material_ir_special_functions branch May 21, 2026 04:41
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