Full stack: implement textureQueryLod(*) and textureQueryLevels(*).

This commit is contained in:
John Kessenich 2015-09-15 19:38:56 -06:00
parent ef0118b26e
commit 2398b3a458
15 changed files with 894 additions and 16 deletions

View file

@ -101,3 +101,17 @@ void bits()
}
layout(location = 7, index = 1) out vec4 indexedOut;
uniform sampler1D samp1D;
uniform sampler2DShadow samp2Ds;
void qlod()
{
vec2 lod;
float pf;
vec2 pf2;
vec3 pf3;
lod = textureQueryLod(samp1D, pf); // ERROR, only in fragment
lod = textureQueryLod(samp2Ds, pf2); // ERROR, only in fragment
}