glsl: Evaluate constant pack/unpack 4x8 expressions
authorMatt Turner <mattst88@gmail.com>
Mon, 21 Jan 2013 22:53:26 +0000 (14:53 -0800)
committerMatt Turner <mattst88@gmail.com>
Fri, 25 Jan 2013 22:10:23 +0000 (14:10 -0800)
commit1ef674f215b10820b94af131b6158d84b89f4e4b
treefbcf2369c31f1fd62cc1da77d2e40d9bdf29f536
parentb64b174b0a7a309dd924d6dace126b0a80e9ea76
glsl: Evaluate constant pack/unpack 4x8 expressions

That is, evaluate constant expressions for the following functions:
  packSnorm4x8, unpackSnorm4x8
  packUnorm4x8, unpackUnorm4x8

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/glsl/ir_constant_expression.cpp