Semantics: Correct that std430 is universally disallowed with 'uniform'.
This commit is contained in:
parent
71e04d62a4
commit
dd6ca17845
6 changed files with 17 additions and 17 deletions
|
|
@ -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 "SPIRV99.809"
|
||||
#define GLSLANG_DATE "28-Nov-2015"
|
||||
#define GLSLANG_REVISION "SPIRV99.821"
|
||||
#define GLSLANG_DATE "06-Dec-2015"
|
||||
|
|
|
|||
|
|
@ -5187,7 +5187,7 @@ void TParseContext::blockStageIoCheck(const TSourceLoc& loc, const TQualifier& q
|
|||
profileRequires(loc, EEsProfile, 300, nullptr, "uniform block");
|
||||
profileRequires(loc, ENoProfile, 140, nullptr, "uniform block");
|
||||
if (currentBlockQualifier.layoutPacking == ElpStd430)
|
||||
requireProfile(loc, ~EEsProfile, "std430 on a uniform block");
|
||||
error(loc, "requires the 'buffer' storage qualifier", "std430", "");
|
||||
break;
|
||||
case EvqBuffer:
|
||||
requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, "buffer block");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue