Implement frexp, ldexp, packUnorm2x16, unpackUnorm2x16, packUnorm4x8, packSnorm4x8, unpackUnorm4x8, unpackSnorm4x8, and unpackDouble2x32().
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27738 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -35,4 +35,15 @@ void main()
|
||||
i4 = findLSB(u4);
|
||||
i1 = findMSB(i1);
|
||||
i2 = findMSB(u2);
|
||||
|
||||
vec3 v3;
|
||||
v3 = frexp(v3, i3);
|
||||
vec2 v2;
|
||||
v2 = ldexp(v2, i2);
|
||||
|
||||
mediump vec4 v4;
|
||||
u1 = packUnorm4x8(v4);
|
||||
u1 = packSnorm4x8(v4);
|
||||
v4 = unpackUnorm4x8(u1);
|
||||
v4 = unpackSnorm4x8(u1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user