Skip to content

Commit

Permalink
set defaultVersion to 110
Browse files Browse the repository at this point in the history
  • Loading branch information
hyzboy committed Sep 3, 2020
1 parent 512cca5 commit 63845a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glsl2spv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ extern "C"
shader.setStrings(shaderStrings, 1);
shader.setEnvClient(glslang::EShClientVulkan, glslang::EShTargetVulkan_1_2);

if (!shader.parse(&Resources, 100, ECoreProfile, false, false, messages))
if (!shader.parse(&Resources, 110, ECoreProfile, false, false, messages))
return(new SPVData(shader.getInfoLog(),shader.getInfoDebugLog()));

program.addShader(&shader);
Expand Down

0 comments on commit 63845a4

Please sign in to comment.