Currently, holographic rendering parameters are updated on swapChain::reset. Consequently, holographic parameters are only updated for the last used shader. If multiple shaders are used sequentially, they will not have their holographic parameters updated.
This change introduces a notification from glContext when a program is used. When in holographic mode, the holographic rendering parameters will be updated for the then active shaders.
@Almost-Done,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot
Currently, holographic rendering parameters are updated on swapChain::reset. Consequently, holographic parameters are only updated for the last used shader. If multiple shaders are used sequentially, they will not have their holographic parameters updated.
This change introduces a notification from glContext when a program is used. When in holographic mode, the holographic rendering parameters will be updated for the then active shaders.