Skip to content

Commit

Permalink
Update glslang, SPIR-V commits
Browse files Browse the repository at this point in the history
Components: Framework

Affects: dEQP-VK.*

Change-Id: If5830108278597a28f8043dd947bed3c20c9688d
  • Loading branch information
alegal-arm committed Mar 7, 2018
1 parent 676039f commit 9a537b4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions external/fetch_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,18 +250,18 @@ def postExtractLibpng (path):
"libpng",
postExtract = postExtractLibpng),
GitRepo(
"https://gitlab.khronos.org/spirv/spirv-tools.git",
"[email protected]:spirv/spirv-tools.git",
"https://github.com/KhronosGroup/SPIRV-Tools.git",
None,
"vulkan-1.1-rc1",
"spirv-tools"),
GitRepo(
"https://gitlab.khronos.org/GLSL/glslang.git",
"[email protected]:GLSL/glslang.git",
"vulkan-1.1-rc8",
"https://github.com/KhronosGroup/glslang.git",
None,
"6.2.2596",
"glslang"),
GitRepo(
"https://gitlab.khronos.org/spirv/SPIRV-Headers.git",
"[email protected]:spirv/SPIRV-Headers.git",
"https://github.com/KhronosGroup/SPIRV-Headers.git",
None,
"vulkan-1.1-rc2",
"spirv-headers"),
]
Expand Down
8 changes: 4 additions & 4 deletions external/vulkancts/framework/vulkan/vkShaderToSpirV.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,16 +272,16 @@ bool compileShaderToSpirV (const std::vector<std::string>* sources, const Shader
switch ( buildOptions.targetVersion )
{
case SPIRV_VERSION_1_0:
shader.setEnvTarget(glslang::EshTargetSpv, 0x10000);
shader.setEnvTarget(glslang::EshTargetSpv, (glslang::EShTargetLanguageVersion)0x10000);
break;
case SPIRV_VERSION_1_1:
shader.setEnvTarget(glslang::EshTargetSpv, 0x10100);
shader.setEnvTarget(glslang::EshTargetSpv, (glslang::EShTargetLanguageVersion)0x10100);
break;
case SPIRV_VERSION_1_2:
shader.setEnvTarget(glslang::EshTargetSpv, 0x10200);
shader.setEnvTarget(glslang::EshTargetSpv, (glslang::EShTargetLanguageVersion)0x10200);
break;
case SPIRV_VERSION_1_3:
shader.setEnvTarget(glslang::EshTargetSpv, 0x10300);
shader.setEnvTarget(glslang::EshTargetSpv, (glslang::EShTargetLanguageVersion)0x10300);
break;
}

Expand Down

0 comments on commit 9a537b4

Please sign in to comment.