i965/cs: Use override structure rather than separate env var
authorJordan Justen <jordan.l.justen@intel.com>
Sun, 8 Jun 2014 07:05:37 +0000 (00:05 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Mon, 16 Jun 2014 16:54:52 +0000 (09:54 -0700)
commit10e03b4401b025f84b97f7e578a716a63c687196
tree5bf94bb0b5647cd11cd69b9cfabcb63deaa514b9
parentf5ca8c19727c76256785e1a9f44da058fdcfe891
i965/cs: Use override structure rather than separate env var

In 25268b93, we added a new environment variable
(INTEL_COMPUTE_SHADER) to allow some constant values to be upgraded
for the ARB_compute_shader extension.

Now, we can look to see if the extension was enabled via the
MESA_EXTENSION_OVERRIDE environment variable.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/intel_extensions.c