HLSL: Don't pin down which tessellation stage must error check input primitive.
This commit is contained in:
parent
fe6689c6c4
commit
da9eb815b3
1 changed files with 2 additions and 2 deletions
|
|
@ -459,9 +459,9 @@ void TIntermediate::finalCheck(TInfoSink& infoSink, bool keepUncalled)
|
|||
error(infoSink, "At least one shader must specify an output layout(vertices=...)");
|
||||
break;
|
||||
case EShLangTessEvaluation:
|
||||
if (source == EShSourceGlsl) {
|
||||
if (inputPrimitive == ElgNone)
|
||||
error(infoSink, "At least one shader must specify an input layout primitive");
|
||||
if (source == EShSourceGlsl) {
|
||||
if (vertexSpacing == EvsNone)
|
||||
vertexSpacing = EvsEqual;
|
||||
if (vertexOrder == EvoNone)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue