This helps distinguish between lowering passes, optimization passes, and other compiler code.
Make glsl include only main/core.h from core mesa.
Signed-off-by: José Fonseca <jfonseca@vmware.com>
Fixes ir_to_mesa handling of unop_log, which used the weird ARB_vp LOG opcode that doesn't do what we want. This also lets the multiplication coefficients in there get constant-folded, possibly. Fixes: glsl-fs-log