Implement specification change in 'restrict', allowing it to come and go across function calls.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@29195 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -127,12 +127,12 @@ void passr(coherent readonly iimage2D image)
|
||||
}
|
||||
|
||||
layout(r32i) coherent readonly uniform iimage2D qualim1;
|
||||
layout(r32i) coherent restrict readonly uniform iimage2D qualim2;
|
||||
layout(r32i) coherent volatile readonly uniform iimage2D qualim2;
|
||||
|
||||
void passrc()
|
||||
{
|
||||
passr(qualim1);
|
||||
passr(qualim2); // ERROR, drops restrict
|
||||
passr(qualim2); // ERROR, drops volatile
|
||||
passr(iimg2D);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user