glsl/shader_enums: Add the other two compute builtins
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 25 Mar 2016 17:51:23 +0000 (10:51 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 11 Apr 2016 20:53:00 +0000 (13:53 -0700)
commit39103145ffe325c4a1432c07e1ac02b1aef0bae5
treeaf2f5104203fde89b640d8b84da013780ad92479
parent22836dbefa8b57fd788adf2693d7aab73c4de16a
glsl/shader_enums: Add the other two compute builtins

These weren't added before because they are actually calculated values that
are computed from other inputs.  However, in order to handle them in
nir_lower_system_values, it's nice for them to have a cannonical locaiton.

Reviewed-by: Rob Clark <robdclark@gmail.com>
src/compiler/shader_enums.c
src/compiler/shader_enums.h