projects
/
platform
/
upstream
/
glslang.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44d2728
)
Parser: Add missing codes for float16
author
Rex Xu
<rex.xu@amd.com>
Thu, 1 Jun 2017 11:58:54 +0000
(19:58 +0800)
committer
Rex Xu
<rex.xu@amd.com>
Thu, 1 Jun 2017 11:59:20 +0000
(19:59 +0800)
glslang/MachineIndependent/ParseHelper.cpp
patch
|
blob
|
history
diff --git
a/glslang/MachineIndependent/ParseHelper.cpp
b/glslang/MachineIndependent/ParseHelper.cpp
index
af6eef8
..
91b14ad
100644
(file)
--- a/
glslang/MachineIndependent/ParseHelper.cpp
+++ b/
glslang/MachineIndependent/ParseHelper.cpp
@@
-2102,6
+2102,17
@@
bool TParseContext::constructorError(const TSourceLoc& loc, TIntermNode* node, T
case EOpConstructDMat4x2:
case EOpConstructDMat4x3:
case EOpConstructDMat4x4:
+#ifdef AMD_EXTENSIONS
+ case EOpConstructF16Mat2x2:
+ case EOpConstructF16Mat2x3:
+ case EOpConstructF16Mat2x4:
+ case EOpConstructF16Mat3x2:
+ case EOpConstructF16Mat3x3:
+ case EOpConstructF16Mat3x4:
+ case EOpConstructF16Mat4x2:
+ case EOpConstructF16Mat4x3:
+ case EOpConstructF16Mat4x4:
+#endif
constructingMatrix = true;
break;
default: