NLeseul avatar

[utopian-io] Bugfix for issue 0001239 in obs-studio (unhandled shader parser keywords)

nleseul

Published: 05 Jun 2018 › Updated: 05 Jun 2018[utopian-io] Bugfix for issue 0001239 in obs-studio (unhandled shader parser keywords)

[utopian-io] Bugfix for issue 0001239 in obs-studio (unhandled shader parser keywords)

Repository

https://github.com/obsproject/obs-studio

I identified and fixed a minor issue in the OBS Studio recording and streaming software. The issue is documented in the project's Mantis DB as issue 0001239.

The issue is that the custom shader parser included in OBS Studio was not recognizing and accepting shaders that included the in, out, or inout modifiers on function arguments. Fixing the issue simply required extending the parsing that was already in place for the uniform modifier to handle these keywords as well.

After my change, such shaders will be correctly parsed and passed on to the shader compiler.

This change was reviewed and merged by the project administrator in pull request #1309.

GitHub Account

https://github.com/nleseul

Leave [utopian-io] Bugfix for issue 0001239 in obs-studio (unhandled shader parser keywords) to:

Written by

I play video games, wear shorts, and think about stuff.

Read more #utopian-io posts


Best Posts From NLeseul

We have not curated any of nleseul's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From NLeseul