You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ARM framework currently uses a few shader variants and along with that reflection to map shader inputs to the C++ side of things. That is contrary to the api framework samples, where every sample uses it's own set of shaders and no runtime reflection-
This prevents us from adding support for offline compiled shaders and HLSL shader support to the ARM framework samples-
We should completely remove shader variants and replace them with explicit shaders per sample instead.
Examples are most of the shaders in the shader root directory, e.g.:
base.frag
base.vert
lighting.h
pbr.frag
pbr.vert
These should be moved to explicit per-sample folders and adjusted per sample so that we no longer need variants and runtime reflection.
The text was updated successfully, but these errors were encountered:
SaschaWillems
changed the title
[Shading language support] Remove shader variants and reflections
[Shading language support] Remove shader variants and reflections for ARM framework samples
Jul 20, 2024
SaschaWillems
changed the title
[Shading language support] Remove shader variants and reflections for ARM framework samples
[Shading language support] Remove shader variants and reflection for ARM framework samples
Jul 20, 2024
The ARM framework currently uses a few shader variants and along with that reflection to map shader inputs to the C++ side of things. That is contrary to the api framework samples, where every sample uses it's own set of shaders and no runtime reflection-
This prevents us from adding support for offline compiled shaders and HLSL shader support to the ARM framework samples-
We should completely remove shader variants and replace them with explicit shaders per sample instead.
Examples are most of the shaders in the shader root directory, e.g.:
These should be moved to explicit per-sample folders and adjusted per sample so that we no longer need variants and runtime reflection.
The text was updated successfully, but these errors were encountered: