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
b126550b
Commit
b126550b
authored
Mar 21, 2018
by
Rex Xu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add additional error check for fragment shader outputs
Int64 and uint64 are disallowed as fragment shader outputs, similar to double.
parent
95b1334a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ParseHelper.cpp
glslang/MachineIndependent/ParseHelper.cpp
+2
-2
No files found.
glslang/MachineIndependent/ParseHelper.cpp
View file @
b126550b
...
...
@@ -2778,8 +2778,8 @@ void TParseContext::globalQualifierTypeCheck(const TSourceLoc& loc, const TQuali
error
(
loc
,
"can't use auxiliary qualifier on a fragment output"
,
"centroid/sample/patch"
,
""
);
if
(
qualifier
.
isInterpolation
())
error
(
loc
,
"can't use interpolation qualifier on a fragment output"
,
"flat/smooth/noperspective"
,
""
);
if
(
publicType
.
basicType
==
EbtDouble
)
error
(
loc
,
"cannot contain a double"
,
GetStorageQualifierString
(
qualifier
.
storage
),
""
);
if
(
publicType
.
basicType
==
EbtDouble
||
publicType
.
basicType
==
EbtInt64
||
publicType
.
basicType
==
EbtUint64
)
error
(
loc
,
"cannot contain a double
, int64, or uint64
"
,
GetStorageQualifierString
(
qualifier
.
storage
),
""
);
break
;
case
EShLangCompute
:
...
...
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