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:
67fca7c
)
HLSL: Remove unintended/untested functionality PrimitiveID.
author
John Kessenich
<cepheus@frii.com>
Sat, 9 Dec 2017 02:41:05 +0000
(19:41 -0700)
committer
John Kessenich
<cepheus@frii.com>
Sat, 9 Dec 2017 02:41:05 +0000
(19:41 -0700)
This was listed as outputs for tessellation stages, but they
are input only.
hlsl/hlslParseHelper.cpp
patch
|
blob
|
history
diff --git
a/hlsl/hlslParseHelper.cpp
b/hlsl/hlslParseHelper.cpp
index
50e60ca
..
6264a14
100755
(executable)
--- a/
hlsl/hlslParseHelper.cpp
+++ b/
hlsl/hlslParseHelper.cpp
@@
-9048,7
+9048,7
@@
bool HlslParseContext::isOutputBuiltIn(const TQualifier& qualifier) const
case EbvViewportIndex:
return language == EShLangGeometry;
case EbvPrimitiveId:
- return language == EShLangGeometry
|| language == EShLangTessControl || language == EShLangTessEvaluation
;
+ return language == EShLangGeometry;
case EbvTessLevelInner:
case EbvTessLevelOuter:
return language == EShLangTessControl;