Support GL_ARB_texture_cube_map_array extension for desktop.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@25025 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich 2014-01-26 22:22:54 +00:00
parent 4e9d8c3171
commit e5fbec8a17
7 changed files with 105 additions and 5 deletions

View file

@ -1464,7 +1464,7 @@ void TBuiltIns::add2ndGenerationSamplingImaging(int version, EProfile profile)
continue;
if (dim == Esd3D && shadow)
continue;
if (dim == EsdCube && arrayed && version < 400)
if (dim == EsdCube && arrayed && (profile == EEsProfile || version < 130))
continue;
if (dim == EsdBuffer && (profile == EEsProfile || version < 140))
continue;