We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 94818a5 + 73afe69 commit 769505fCopy full SHA for 769505f
modules/glslang/register_types.cpp
@@ -58,7 +58,7 @@ Vector<uint8_t> compile_glslang_shader(RenderingDeviceCommons::ShaderStage p_sta
58
glslang::EShTargetLanguageVersion TargetVersion = (glslang::EShTargetLanguageVersion)p_spirv_version;
59
60
glslang::TShader shader(stages[p_stage]);
61
- CharString cs = p_source_code.ascii();
+ CharString cs = p_source_code.utf8();
62
const char *cs_strings = cs.get_data();
63
std::string preamble = "";
64
0 commit comments