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
e0da415d
Commit
e0da415d
authored
Sep 20, 2018
by
Ian Romanick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
INTEL_shader_integer_functions2: Add basic extension tracking
parent
a4af7676
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
Versions.cpp
glslang/MachineIndependent/Versions.cpp
+4
-0
Versions.h
glslang/MachineIndependent/Versions.h
+2
-0
No files found.
glslang/MachineIndependent/Versions.cpp
View file @
e0da415d
...
...
@@ -236,6 +236,8 @@ void TParseVersions::initializeExtensionBehavior()
extensionBehavior
[
E_GL_AMD_shader_fragment_mask
]
=
EBhDisable
;
extensionBehavior
[
E_GL_AMD_gpu_shader_half_float_fetch
]
=
EBhDisable
;
extensionBehavior
[
E_GL_INTEL_shader_integer_functions2
]
=
EBhDisable
;
extensionBehavior
[
E_GL_NV_sample_mask_override_coverage
]
=
EBhDisable
;
extensionBehavior
[
E_SPV_NV_geometry_shader_passthrough
]
=
EBhDisable
;
extensionBehavior
[
E_GL_NV_viewport_array2
]
=
EBhDisable
;
...
...
@@ -434,6 +436,8 @@ void TParseVersions::getPreamble(std::string& preamble)
"#define GL_AMD_shader_fragment_mask 1
\n
"
"#define GL_AMD_gpu_shader_half_float_fetch 1
\n
"
"#define GL_INTEL_shader_integer_functions2 1
\n
"
"#define GL_NV_sample_mask_override_coverage 1
\n
"
"#define GL_NV_geometry_shader_passthrough 1
\n
"
"#define GL_NV_viewport_array2 1
\n
"
...
...
glslang/MachineIndependent/Versions.h
View file @
e0da415d
...
...
@@ -206,6 +206,8 @@ const char* const E_GL_AMD_shader_image_load_store_lod = "GL_AMD_shader
const
char
*
const
E_GL_AMD_shader_fragment_mask
=
"GL_AMD_shader_fragment_mask"
;
const
char
*
const
E_GL_AMD_gpu_shader_half_float_fetch
=
"GL_AMD_gpu_shader_half_float_fetch"
;
const
char
*
const
E_GL_INTEL_shader_integer_functions2
=
"GL_INTEL_shader_integer_functions2"
;
const
char
*
const
E_GL_NV_sample_mask_override_coverage
=
"GL_NV_sample_mask_override_coverage"
;
const
char
*
const
E_SPV_NV_geometry_shader_passthrough
=
"GL_NV_geometry_shader_passthrough"
;
const
char
*
const
E_GL_NV_viewport_array2
=
"GL_NV_viewport_array2"
;
...
...
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