Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
glslang
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
glslang
Commits
b9e54247
Commit
b9e54247
authored
Jul 28, 2015
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Non-functional: Slight change to the Google #include implementation to separate it from AEP.
parent
d9b89d3e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
Versions.cpp
glslang/MachineIndependent/Versions.cpp
+5
-2
Versions.h
glslang/MachineIndependent/Versions.h
+2
-2
No files found.
glslang/MachineIndependent/Versions.cpp
View file @
b9e54247
...
...
@@ -174,6 +174,8 @@ void TParseContext::initializeExtensionBehavior()
extensionBehavior
[
E_GL_ARB_viewport_array
]
=
EBhDisable
;
// extensionBehavior[E_GL_ARB_cull_distance] = EBhDisable; // present for 4.5, but need extension control over block members
extensionBehavior
[
E_GL_GOOGLE_cpp_style_line_directive
]
=
EBhDisable
;
// AEP
extensionBehavior
[
E_GL_ANDROID_extension_pack_es31a
]
=
EBhDisablePartial
;
extensionBehavior
[
E_GL_KHR_blend_equation_advanced
]
=
EBhDisablePartial
;
...
...
@@ -190,7 +192,6 @@ void TParseContext::initializeExtensionBehavior()
extensionBehavior
[
E_GL_EXT_tessellation_point_size
]
=
EBhDisable
;
extensionBehavior
[
E_GL_EXT_texture_buffer
]
=
EBhDisablePartial
;
extensionBehavior
[
E_GL_EXT_texture_cube_map_array
]
=
EBhDisablePartial
;
extensionBehavior
[
E_GL_GOOGLE_cpp_style_line_directive
]
=
EBhDisable
;
// OES matching AEP
extensionBehavior
[
E_GL_OES_geometry_shader
]
=
EBhDisable
;
...
...
@@ -218,6 +219,8 @@ const char* TParseContext::getPreamble()
"#define GL_OES_EGL_image_external 1
\n
"
"#define GL_EXT_shader_texture_lod 1
\n
"
"#define GL_GOOGLE_cpp_style_line_directive 1
\n
"
// AEP
"#define GL_ANDROID_extension_pack_es31a 1
\n
"
"#define GL_KHR_blend_equation_advanced 1
\n
"
...
...
@@ -234,7 +237,6 @@ const char* TParseContext::getPreamble()
"#define GL_EXT_tessellation_point_size 1
\n
"
"#define GL_EXT_texture_buffer 1
\n
"
"#define GL_EXT_texture_cube_map_array 1
\n
"
"#define GL_GOOGLE_cpp_style_line_directive 1
\n
"
// OES matching AEP
"#define GL_OES_geometry_shader 1
\n
"
...
...
@@ -266,6 +268,7 @@ const char* TParseContext::getPreamble()
"#define GL_ARB_derivative_control 1
\n
"
"#define GL_ARB_shader_texture_image_samples 1
\n
"
"#define GL_ARB_viewport_array 1
\n
"
"#define GL_GOOGLE_cpp_style_line_directive 1
\n
"
// "#define GL_ARB_cull_distance 1\n" // present for 4.5, but need extension control over block members
;
...
...
glslang/MachineIndependent/Versions.h
View file @
b9e54247
...
...
@@ -112,6 +112,8 @@ const char* const E_GL_ARB_shader_texture_image_samples = "GL_ARB_shader_texture
const
char
*
const
E_GL_ARB_viewport_array
=
"GL_ARB_viewport_array"
;
//const char* const E_GL_ARB_cull_distance = "GL_ARB_cull_distance"; // present for 4.5, but need extension control over block members
const
char
*
const
E_GL_GOOGLE_cpp_style_line_directive
=
"GL_GOOGLE_cpp_style_line_directive"
;
// AEP
const
char
*
const
E_GL_ANDROID_extension_pack_es31a
=
"GL_ANDROID_extension_pack_es31a"
;
const
char
*
const
E_GL_KHR_blend_equation_advanced
=
"GL_KHR_blend_equation_advanced"
;
...
...
@@ -129,8 +131,6 @@ const char* const E_GL_EXT_tessellation_point_size = "GL_EXT_tessel
const
char
*
const
E_GL_EXT_texture_buffer
=
"GL_EXT_texture_buffer"
;
const
char
*
const
E_GL_EXT_texture_cube_map_array
=
"GL_EXT_texture_cube_map_array"
;
const
char
*
const
E_GL_GOOGLE_cpp_style_line_directive
=
"GL_GOOGLE_cpp_style_line_directive"
;
// OES matching AEP
const
char
*
const
E_GL_OES_geometry_shader
=
"GL_OES_geometry_shader"
;
const
char
*
const
E_GL_OES_geometry_point_size
=
"GL_OES_geometry_point_size"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment