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
98e3fb19
Unverified
Commit
98e3fb19
authored
Feb 15, 2018
by
John Kessenich
Committed by
GitHub
Feb 15, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1246 from amdrexu/bugfix
Fix an issue of interpolateAtVertexAMD().
parents
23ea3db3
35a3de74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
ParseHelper.cpp
glslang/MachineIndependent/ParseHelper.cpp
+3
-0
No files found.
glslang/MachineIndependent/ParseHelper.cpp
View file @
98e3fb19
...
@@ -1585,6 +1585,9 @@ void TParseContext::builtInOpCheck(const TSourceLoc& loc, const TFunction& fnCan
...
@@ -1585,6 +1585,9 @@ void TParseContext::builtInOpCheck(const TSourceLoc& loc, const TFunction& fnCan
case
EOpInterpolateAtCentroid
:
case
EOpInterpolateAtCentroid
:
case
EOpInterpolateAtSample
:
case
EOpInterpolateAtSample
:
case
EOpInterpolateAtOffset
:
case
EOpInterpolateAtOffset
:
#ifdef AMD_EXTENSIONS
case
EOpInterpolateAtVertex
:
#endif
// Make sure the first argument is an interpolant, or an array element of an interpolant
// Make sure the first argument is an interpolant, or an array element of an interpolant
if
(
arg0
->
getType
().
getQualifier
().
storage
!=
EvqVaryingIn
)
{
if
(
arg0
->
getType
().
getQualifier
().
storage
!=
EvqVaryingIn
)
{
// It might still be an array element.
// It might still be an array element.
...
...
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