glsl: Add IR lisp for GLSL ES 3.00 pack/unpack functions
authorChad Versace <chad.versace@linux.intel.com>
Wed, 9 Jan 2013 00:13:18 +0000 (16:13 -0800)
committerChad Versace <chad.versace@linux.intel.com>
Fri, 25 Jan 2013 05:11:41 +0000 (21:11 -0800)
commit3a88d71d3558d756b0567efe4f22179d2606367c
tree4dd0d80b4a7b665078db2b5b82b8e9a881dc77b5
parent6f8f919a530b570aba13342dfe9a82a8f44a9f69
glsl: Add IR lisp for GLSL ES 3.00 pack/unpack functions

For each of the following functions, add a declaration to
builtins/profiles/300es.glsl and create new file
builtins/ir/${funcname}.ir:

  packSnorm2x16  unpackSnorm2x16
  packUnorm2x16  unpackUnorm2x16
  packHalf2x16   unpackHalf2x16

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Tuner <mattst88@gmail.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/glsl/builtins/ir/packHalf2x16.ir [new file with mode: 0644]
src/glsl/builtins/ir/packSnorm2x16.ir [new file with mode: 0644]
src/glsl/builtins/ir/packUnorm2x16.ir [new file with mode: 0644]
src/glsl/builtins/ir/unpackHalf2x16.ir [new file with mode: 0644]
src/glsl/builtins/ir/unpackSnorm2x16.ir [new file with mode: 0644]
src/glsl/builtins/ir/unpackUnorm2x16.ir [new file with mode: 0644]
src/glsl/builtins/profiles/300es.glsl