-
Notifications
You must be signed in to change notification settings - Fork 371
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This CL switches shaderc to use the KhronosGroup glslang instead of the google glslang.
- Loading branch information
Showing
15 changed files
with
356 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
use_relative_paths = True | ||
|
||
vars = { | ||
'google_git': 'https://github.com/google', | ||
'khronos_git': 'https://github.com/KhronosGroup', | ||
|
||
'effcee_revision' : '8f0a61dc95e0df18c18e0ac56d83b3fa9d2fe90b', | ||
'glslang_revision': '83b2647293db3d777e77adbaf04283cf97a18661', | ||
'googletest_revision': 'd5932506d6eed73ac80b9bcc47ed723c8c74eb1e', | ||
're2_revision': 'f620af75bd693f917c684106d26de1b99ffe0e0d', | ||
'spirv_headers_revision': '4618b86e9e4b027a22040732dfee35e399cd2c47', | ||
'spirv_tools_revision': '64f2750e5dc553baa2922b780f15049023689ef9', | ||
} | ||
|
||
deps = { | ||
'third_party/effcee': vars['google_git'] + '/effcee.git@' + | ||
vars['effcee_revision'], | ||
|
||
'third_party/googletest': vars['google_git'] + '/googletest.git@' + | ||
vars['googletest_revision'], | ||
|
||
'third_party/glslang': vars['khronos_git'] + '/glslang.git@' + | ||
vars['glslang_revision'], | ||
|
||
'third_party/re2': vars['google_git'] + '/re2.git@' + | ||
vars['re2_revision'], | ||
|
||
'third_party/spirv-headers': vars['khronos_git'] + '/SPIRV-Headers.git@' + | ||
vars['spirv_headers_revision'], | ||
|
||
'third_party/spirv-tools': vars['khronos_git'] + '/SPIRV-Tools.git@' + | ||
vars['spirv_tools_revision'], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
; SPIR-V | ||
; Version: 1.0 | ||
; Generator: Google Shaderc over Glslang; 7 | ||
; Bound: 7 | ||
; Schema: 0 | ||
OpCapability Shader | ||
%2 = OpExtInstImport "GLSL.std.450" | ||
OpMemoryModel Logical GLSL450 | ||
OpEntryPoint Vertex %main "main" | ||
%1 = OpString "../shader.vert" | ||
OpSource ESSL 310 %1 "// OpModuleProcessed entry-point main | ||
// OpModuleProcessed client vulkan100 | ||
// OpModuleProcessed target-env vulkan1.0 | ||
// OpModuleProcessed entry-point main | ||
#line 1 | ||
#version 310 es | ||
void main() {} | ||
" | ||
OpSourceExtension "GL_GOOGLE_cpp_style_line_directive" | ||
OpSourceExtension "GL_GOOGLE_include_directive" | ||
OpName %main "main" | ||
%void = OpTypeVoid | ||
%4 = OpTypeFunction %void | ||
%main = OpFunction %void None %4 | ||
%6 = OpLabel | ||
OpReturn | ||
OpFunctionEnd |
Oops, something went wrong.