nir/lower_system_values: Add support for computed builtins.
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 15 Dec 2015 04:22:09 +0000 (20:22 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 15 Dec 2015 18:20:23 +0000 (10:20 -0800)
commit1035108a7f5ed2fc3698c3e9a0934d1bd0ab104b
treecf3928adacfc8812855dec4f1e0fbb88fddf640e
parent630b9528b36baf0efc35f461ce69338ba5930e5a
nir/lower_system_values: Add support for computed builtins.

In particular, this commit adds support for computing gl_GlobalInvocationID
and gl_LocalInvocationIndex from other intrinsics.
src/glsl/nir/nir_lower_system_values.c