So... not a bug in glslang, powershell just defaults to saving text in UTF-16... which means that if you generate a configuration file for glslangValidator like this:

glslangValidator -c > myconf.conf

in powershell, you end up with a .conf file that glslangValidator can't read, because it wants UTF8

@khalladay I think technically that's UCS-2 which was a fixed width format

@realkiran yeah, you're right, I mis-typed, powershell was kicking out UCS2-LE BOM according to notepad++

which... is better because at least I got to say "le bom" in my head a few times and imagine my text file was exploding.

Sign in to participate in the conversation
Gamedev Mastodon

Game development! Discussions about game development and related fields, and/or by game developers and related professions.