Finish implement GL_ARB_texture_lod; adding the 19 additional *ARB() built-ins to the 11 non-*ARB() that were already supported.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27542 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
019a62b0ec
commit
b9fc145387
4 changed files with 298 additions and 141 deletions
|
|
@ -185,6 +185,10 @@ void foo2323()
|
|||
v = texture3DProjLod(s3D, v, f); // ERROR
|
||||
v = texture1DProjLod(s1D, v, f); // ERROR
|
||||
v = shadow2DProjLod(s2DS, v, f); // ERROR
|
||||
|
||||
v = texture1DGradARB(s1D, f, f, f); // ERROR
|
||||
v = texture2DProjGradARB(s2D, v, v2, v2); // ERROR
|
||||
v = shadow2DProjGradARB(s2DS, v, v2, v2); // ERROR
|
||||
}
|
||||
|
||||
#extension GL_ARB_shader_texture_lod : require
|
||||
|
|
@ -198,9 +202,14 @@ void foo2324()
|
|||
v = texture3DProjLod(s3D, v, f);
|
||||
v = texture1DProjLod(s1D, v, f);
|
||||
v = shadow2DProjLod(s2DS, v, f);
|
||||
|
||||
v = texture1DGradARB(s1D, f, f, f);
|
||||
v = texture2DProjGradARB(s2D, v, v2, v2);
|
||||
v = shadow2DProjGradARB(s2DS, v, v2, v2);
|
||||
v = shadow2DRectProjGradARB(s2DS, v, v2, v2); // ERROR
|
||||
}
|
||||
|
||||
uniform sampler2DRect s2DRbad;
|
||||
uniform sampler2DRect s2DRbad; // ERROR
|
||||
|
||||
void foo121111()
|
||||
{
|
||||
|
|
@ -224,4 +233,6 @@ void foo12111()
|
|||
v = texture2DRectProj(s2DR, v4);
|
||||
v = shadow2DRect(s2DRS, v3);
|
||||
v = shadow2DRectProj(s2DRS, v4);
|
||||
|
||||
v = shadow2DRectProjGradARB(s2DRS, v, v2, v2);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue