glsl: make compiler options per-target
authorLuca Barbieri <luca@luca-barbieri.com>
Sun, 5 Sep 2010 16:49:54 +0000 (18:49 +0200)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 9 Sep 2010 03:36:37 +0000 (20:36 -0700)
commit6d3a2c97f4a78e85545286e0e126cd3a27bd1cbd
tree90583a2499c09d4211616dd2b36a3e9134092c2c
parentede4205b245ee58bacf866d298273ebbe31feacf
glsl: make compiler options per-target

This allows us to specify different options, especially useful for chips
without unified shaders.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i915/i915_context.c
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/r600/r600_context.c
src/mesa/main/mtypes.h
src/mesa/main/nvprogram.c
src/mesa/main/shaderapi.c
src/mesa/program/ir_to_mesa.cpp
src/mesa/state_tracker/st_extensions.c