diff options
author | Matt Turner <[email protected]> | 2013-01-21 14:00:41 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2013-01-25 14:10:23 -0800 |
commit | b0239ce9600c5484c3e424fea23b28e13d11a891 (patch) | |
tree | 92b8d266a92df3807cb40e3522321ddefe213036 /src/glsl/builtins/profiles | |
parent | 12aa2fec5b4ffa89327551fbecd29acf1774959b (diff) |
glsl: Add IR lisp for ARB_shading_language_packing
Reviewed-by: Chad Versace <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/glsl/builtins/profiles')
-rw-r--r-- | src/glsl/builtins/profiles/ARB_shading_language_packing.glsl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/glsl/builtins/profiles/ARB_shading_language_packing.glsl b/src/glsl/builtins/profiles/ARB_shading_language_packing.glsl new file mode 100644 index 00000000000..210af51630d --- /dev/null +++ b/src/glsl/builtins/profiles/ARB_shading_language_packing.glsl @@ -0,0 +1,14 @@ +#version 130 +#extension GL_ARB_shading_language_packing : enable + +highp uint packSnorm2x16( vec2 v); +highp uint packUnorm2x16( vec2 v); +highp uint packSnorm4x8 ( vec4 v); +highp uint packUnorm4x8 ( vec4 v); +highp uint packHalf2x16 (mediump vec2 v); + +highp vec2 unpackSnorm2x16(highp uint p); +highp vec2 unpackUnorm2x16(highp uint p); +highp vec4 unpackSnorm4x8 (highp uint p); +highp vec4 unpackUnorm4x8 (highp uint p); +mediump vec2 unpackHalf2x16 (highp uint p); |