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
d9b08d5c
Commit
d9b08d5c
authored
May 10, 2017
by
John Kessenich
Committed by
GitHub
May 10, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #880 from aras-p/master
Fix for lumped/unity/batch builds
parents
02c4728a
23d3c712
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
25 additions
and
1 deletion
+25
-1
GlslangToSpv.h
SPIRV/GlslangToSpv.h
+2
-0
doc.h
SPIRV/doc.h
+2
-0
StandAlone.cpp
StandAlone/StandAlone.cpp
+2
-0
LiveTraverser.h
glslang/MachineIndependent/LiveTraverser.h
+2
-0
RemoveTree.h
glslang/MachineIndependent/RemoveTree.h
+2
-0
ScanContext.h
glslang/MachineIndependent/ScanContext.h
+2
-0
gl_types.h
glslang/MachineIndependent/gl_types.h
+2
-0
Pp.cpp
glslang/MachineIndependent/preprocessor/Pp.cpp
+2
-0
PpAtom.cpp
glslang/MachineIndependent/preprocessor/PpAtom.cpp
+2
-0
PpScanner.cpp
glslang/MachineIndependent/preprocessor/PpScanner.cpp
+2
-0
PpTokens.cpp
glslang/MachineIndependent/preprocessor/PpTokens.cpp
+3
-1
propagateNoContraction.h
glslang/MachineIndependent/propagateNoContraction.h
+2
-0
No files found.
SPIRV/GlslangToSpv.h
View file @
d9b08d5c
...
@@ -32,6 +32,8 @@
...
@@ -32,6 +32,8 @@
// ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
// POSSIBILITY OF SUCH DAMAGE.
#pragma once
#if _MSC_VER >= 1900
#if _MSC_VER >= 1900
#pragma warning(disable : 4464) // relative include path contains '..'
#pragma warning(disable : 4464) // relative include path contains '..'
#endif
#endif
...
...
SPIRV/doc.h
View file @
d9b08d5c
...
@@ -36,6 +36,8 @@
...
@@ -36,6 +36,8 @@
// Parameterize the SPIR-V enumerants.
// Parameterize the SPIR-V enumerants.
//
//
#pragma once
#include "spirv.hpp"
#include "spirv.hpp"
#include <vector>
#include <vector>
...
...
StandAlone/StandAlone.cpp
View file @
d9b08d5c
...
@@ -35,7 +35,9 @@
...
@@ -35,7 +35,9 @@
//
//
// this only applies to the standalone wrapper, not the front end in general
// this only applies to the standalone wrapper, not the front end in general
#ifndef _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#endif
#include "ResourceLimits.h"
#include "ResourceLimits.h"
#include "Worklist.h"
#include "Worklist.h"
...
...
glslang/MachineIndependent/LiveTraverser.h
View file @
d9b08d5c
...
@@ -33,6 +33,8 @@
...
@@ -33,6 +33,8 @@
// POSSIBILITY OF SUCH DAMAGE.
// POSSIBILITY OF SUCH DAMAGE.
//
//
#pragma once
#include "../Include/Common.h"
#include "../Include/Common.h"
#include "reflection.h"
#include "reflection.h"
#include "localintermediate.h"
#include "localintermediate.h"
...
...
glslang/MachineIndependent/RemoveTree.h
View file @
d9b08d5c
...
@@ -32,6 +32,8 @@
...
@@ -32,6 +32,8 @@
// POSSIBILITY OF SUCH DAMAGE.
// POSSIBILITY OF SUCH DAMAGE.
//
//
#pragma once
namespace
glslang
{
namespace
glslang
{
void
RemoveAllTreeNodes
(
TIntermNode
*
);
void
RemoveAllTreeNodes
(
TIntermNode
*
);
...
...
glslang/MachineIndependent/ScanContext.h
View file @
d9b08d5c
...
@@ -38,6 +38,8 @@
...
@@ -38,6 +38,8 @@
// sits between the preprocessor scanner and parser.
// sits between the preprocessor scanner and parser.
//
//
#pragma once
#include "ParseHelper.h"
#include "ParseHelper.h"
namespace
glslang
{
namespace
glslang
{
...
...
glslang/MachineIndependent/gl_types.h
View file @
d9b08d5c
...
@@ -21,6 +21,8 @@
...
@@ -21,6 +21,8 @@
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
*/
*/
#pragma once
#define GL_FLOAT 0x1406
#define GL_FLOAT 0x1406
#define GL_FLOAT_VEC2 0x8B50
#define GL_FLOAT_VEC2 0x8B50
#define GL_FLOAT_VEC3 0x8B51
#define GL_FLOAT_VEC3 0x8B51
...
...
glslang/MachineIndependent/preprocessor/Pp.cpp
View file @
d9b08d5c
...
@@ -76,7 +76,9 @@ TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF
...
@@ -76,7 +76,9 @@ TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF
NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\****************************************************************************/
\****************************************************************************/
#ifndef _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#endif
#include <sstream>
#include <sstream>
#include <cstdlib>
#include <cstdlib>
...
...
glslang/MachineIndependent/preprocessor/PpAtom.cpp
View file @
d9b08d5c
...
@@ -76,7 +76,9 @@ TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF
...
@@ -76,7 +76,9 @@ TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF
NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\****************************************************************************/
\****************************************************************************/
#ifndef _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#endif
#include <cassert>
#include <cassert>
#include <cstdlib>
#include <cstdlib>
...
...
glslang/MachineIndependent/preprocessor/PpScanner.cpp
View file @
d9b08d5c
...
@@ -76,7 +76,9 @@ TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF
...
@@ -76,7 +76,9 @@ TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF
NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\****************************************************************************/
\****************************************************************************/
#ifndef _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#endif
#include <cstdlib>
#include <cstdlib>
#include <cstring>
#include <cstring>
...
...
glslang/MachineIndependent/preprocessor/PpTokens.cpp
View file @
d9b08d5c
...
@@ -80,8 +80,10 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
...
@@ -80,8 +80,10 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// For recording and playing back the stream of tokens in a macro definition.
// For recording and playing back the stream of tokens in a macro definition.
//
//
#if
(defined(_MSC_VER) && _MSC_VER < 1900
/*vs2015*/
)
#if
ndef _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#endif
#if (defined(_MSC_VER) && _MSC_VER < 1900
/*vs2015*/
)
#define snprintf sprintf_s
#define snprintf sprintf_s
#endif
#endif
...
...
glslang/MachineIndependent/propagateNoContraction.h
View file @
d9b08d5c
...
@@ -37,6 +37,8 @@
...
@@ -37,6 +37,8 @@
// propagate 'noContraction' qualifier.
// propagate 'noContraction' qualifier.
//
//
#pragma once
#include "../Include/intermediate.h"
#include "../Include/intermediate.h"
namespace
glslang
{
namespace
glslang
{
...
...
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