i965: Support the force_glsl_version driconf option.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 21 Jan 2017 04:33:57 +0000 (20:33 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 30 Jan 2017 02:20:57 +0000 (18:20 -0800)
commit2f7a7ae13196c58eddea75fc51637f8c2a8579b0
tree59815977d82b6ff6ce4790c2985696dcb1d8e611
parent02216a1ddf2bcafb86fda352e514f27ab6f7a4fa
i965: Support the force_glsl_version driconf option.

Gallium drivers have had this for a while.  It makes sense to support
it consistently across drivers, so expose it in i965 as well.

Cc: "17.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/intel_screen.c