Skip to content

Commit 5b02e4a

Browse files
authored
Update ParseContext.cpp
1 parent 7192887 commit 5b02e4a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/compiler/translator/ParseContext.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2549,7 +2549,7 @@ void TParseContext::nonEmptyDeclarationErrorCheck(const TPublicType &publicType,
25492549
}
25502550
break;
25512551
case EiifUnspecified:
2552-
error(identifierLocation,
2552+
warning(identifierLocation,
25532553
"No image internal format specified.",
25542554
getBasicString(publicType.getBasicType()));
25552555
return;
@@ -2642,7 +2642,7 @@ void TParseContext::nonEmptyDeclarationErrorCheck(const TPublicType &publicType,
26422642
getImageInternalFormatString(layoutQualifier.imageInternalFormat));
26432643
break;
26442644
case EiifUnspecified:
2645-
error(identifierLocation, "pixel local storage requires a format specifier",
2645+
warning(identifierLocation, "pixel local storage requires a format specifier",
26462646
"layout qualifier");
26472647
break;
26482648
}

0 commit comments

Comments
 (0)