Jump to content
  • Advertisement
Sign in to follow this  
five1mon

Is it possible to obtain what flags a shader was created with?

This topic is 2279 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey
In the situation where you're having compiled shaders under source control is it possible to write a check-in test that examin what flags the shaders been built with. Most common you want to see that no debug shaders get checked-in.

So what I want to know -Is it possible to obtain infromation of what flags a particular shader been built with?


Cheers :-)

Share this post


Link to post
Share on other sites
Advertisement

In the situation where you're having compiled shaders under source control is it possible to write a check-in test that examin what

The problem can be solved by checking in only the source files and compile them when you build your release/debug version on-the-fly.

Share this post


Link to post
Share on other sites
I'm agreeing with Ashaman on this one

Most revision control systems weren't even designed to store binary files, so it'd be a better idea overall to just store your source files and do a compile of your shader code when you build your application Edited by Radikalizm

Share this post


Link to post
Share on other sites
I kind of agree with you and if I was in charge I prob implement something similiar. Just the way the system is setup atm, we submit compiled shaders and I was just looking into solving the problems with assuring a standard for what flags been used when building.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!