Add command flag for picking between shaders

The new `-s`, `--shaders` command line flag allows you to specify whether you want to load the glsl or hlsl shaders.
Defaults to glsl.

Issue: #723
This commit is contained in:
Ben Clayton 2020-05-29 16:36:27 +01:00
parent 8c35694de9
commit 301e8abf12
7 changed files with 45 additions and 20 deletions

View file

@ -19,11 +19,6 @@ const std::string getAssetPath()
#endif
}
const std::string getShadersPath()
{
return getAssetPath() + "shaders/glsl/";
}
namespace vks
{
namespace tools