glsl2: Move ir_to_mesa handling to driver CompileShader and LinkShader hooks.
authorEric Anholt <eric@anholt.net>
Wed, 11 Aug 2010 03:11:44 +0000 (20:11 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 14 Aug 2010 00:54:42 +0000 (17:54 -0700)
commitd19eecef54384c163af27a470496ed885a5a271b
tree350937a634dbf44545781b2618544d8b94668327
parent013bbbbb0ac52a12d1e4413700dc40dee70186f8
glsl2: Move ir_to_mesa handling to driver CompileShader and LinkShader hooks.

This lets drivers override ir_to_mesa with their own codegen, or at
least have a native alternative.
src/mesa/main/dd.h
src/mesa/main/shaderobj.c
src/mesa/program/ir_to_mesa.cpp
src/mesa/program/ir_to_mesa.h