Turn on the sampler 2DMS types for ES 3.1.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27741 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
58f5a5e77a
commit
a3d8557a44
6 changed files with 113 additions and 9 deletions
|
|
@ -842,6 +842,11 @@ int TScanContext::tokenizeIdentifier()
|
|||
case SAMPLER2DMS:
|
||||
case ISAMPLER2DMS:
|
||||
case USAMPLER2DMS:
|
||||
afterType = true;
|
||||
if (parseContext.profile == EEsProfile && parseContext.version >= 310)
|
||||
return keyword;
|
||||
return es30ReservedFromGLSL(150);
|
||||
|
||||
case SAMPLER2DMSARRAY:
|
||||
case ISAMPLER2DMSARRAY:
|
||||
case USAMPLER2DMSARRAY:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue