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
64285c9e
Commit
64285c9e
authored
Jan 05, 2017
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Non-functional: Very minor clean up.
parent
acb9076a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
9 deletions
+8
-9
revision.h
glslang/Include/revision.h
+1
-1
Intermediate.cpp
glslang/MachineIndependent/Intermediate.cpp
+4
-4
hlslParseHelper.cpp
hlsl/hlslParseHelper.cpp
+3
-4
No files found.
glslang/Include/revision.h
View file @
64285c9e
...
...
@@ -2,5 +2,5 @@
// For the version, it uses the latest git tag followed by the number of commits.
// For the date, it uses the current date (when then script is run).
#define GLSLANG_REVISION "Overload400-PrecQual.17
39
"
#define GLSLANG_REVISION "Overload400-PrecQual.17
42
"
#define GLSLANG_DATE "05-Jan-2017"
glslang/MachineIndependent/Intermediate.cpp
View file @
64285c9e
...
...
@@ -2256,8 +2256,8 @@ bool TIntermediate::promoteAggregate(TIntermAggregate& node)
case
EOpDot
:
case
EOpDst
:
case
EOpFaceForward
:
// case EOpFindMSB: TODO: ??
// case EOpFindLSB: TODO: ??
// case EOpFindMSB: TODO:
// case EOpFindLSB: TODO:
case
EOpFma
:
case
EOpMod
:
case
EOpFrexp
:
...
...
@@ -2267,11 +2267,11 @@ bool TIntermediate::promoteAggregate(TIntermAggregate& node)
case
EOpMax
:
case
EOpMin
:
case
EOpModf
:
// case EOpGenMul: TODO: ??
// case EOpGenMul: TODO:
case
EOpPow
:
case
EOpReflect
:
case
EOpRefract
:
// case EOpSinCos: TODO:
??
// case EOpSinCos: TODO:
case
EOpSmoothStep
:
case
EOpStep
:
break
;
...
...
hlsl/hlslParseHelper.cpp
View file @
64285c9e
...
...
@@ -391,7 +391,7 @@ TIntermTyped* HlslParseContext::handleLvalue(const TSourceLoc& loc, const char*
// OpSequence
// coordtmp = load's param1
// rhsTmp = OpImageLoad(object, coordTmp)
// rhsTmp op
= rhs
// rhsTmp op= rhs
// OpImageStore(object, coordTmp, rhsTmp)
// rhsTmp
//
...
...
@@ -1073,7 +1073,7 @@ void HlslParseContext::flatten(const TSourceLoc& loc, const TVariable& variable)
// location in this linear sequence.
//
// If the tree was N-ary, that can be directly calculated. However, we are dealing with
// arbitrary numbers - peraps a struct of 7 members containing an array of 3. Thus, we must
// arbitrary numbers - per
h
aps a struct of 7 members containing an array of 3. Thus, we must
// build a data structure to allow the sequence of bracket and dot operators on arrays and
// structs to arrive at the proper member.
//
...
...
@@ -5528,9 +5528,8 @@ TIntermTyped* HlslParseContext::convertInitializerList(const TSourceLoc& loc, co
emulatedConstructorArguments
=
initList
->
getSequence
()[
0
];
else
emulatedConstructorArguments
=
initList
;
TIntermTyped
*
constructor
=
addConstructor
(
loc
,
emulatedConstructorArguments
,
type
);
return
constructor
;
return
addConstructor
(
loc
,
emulatedConstructorArguments
,
type
)
;
}
// Lengthen list to be long enough to cover any gap from the current list 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