• Niklas Haas's avatar
    spirv: work around libshaderc locale dependence · d66ecf6d
    Niklas Haas authored
    Do this by explicitly clearing LC_NUMERIC before calling into
    libshaderc. I'm not entirely sure whether libshaderc or glslang is to
    blame here, but either way, as long as it works - I'm happy.
    
    This is not that big of a deal performance-wise since shader compilation
    is infrequent, and it also doesn't need messy global initialization
    since we can just stuff the locale_t in with the struct priv.
    d66ecf6d
Name
Last commit
Last update
demos Loading commit data...
etc Loading commit data...
src Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
compile Loading commit data...
cross_mingw_i686.txt Loading commit data...
cross_mingw_x86_64.txt Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...