Skip to content

Conversation

@trie94
Copy link
Contributor

@trie94 trie94 commented Nov 3, 2025

Support returning an inlined .mat of the given .mat in matc
(This is dependent on #9374)

@pixelflinger pixelflinger added the internal Issue/PR does not affect clients label Nov 4, 2025
…fore parsing the material.

- resolving #includes was happening after parsing, now moving before parsing.
this is because we could offload this resolution at build time for RuntimeMaterialCompiler
- filamat::resolveIncludes used to have an assumption where the given text was already
a shader block. this assumption is now broken so it finds the line offset internally.
thus the line offset field is removed from IncludeResult.

# Conflicts:
#	libs/filamat/CMakeLists.txt
#	libs/filamat/include/filamat/Includes.h
#	libs/filamat/src/Includes.h
#	libs/filamat/tests/test_filamat.cpp
#	tools/matc/src/matc/Includes.h
#	tools/matc/src/matc/MaterialCompiler.cpp
#	tools/matc/tests/MockIncluder.h
#	tools/matc/tests/test_includes.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Issue/PR does not affect clients

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants