driconf: Add a new option: disable_glsl_line_continuations
authorCarl Worth <cworth@cworth.org>
Wed, 5 Dec 2012 00:29:00 +0000 (16:29 -0800)
committerCarl Worth <cworth@cworth.org>
Fri, 11 Jan 2013 21:55:41 +0000 (13:55 -0800)
commitc0c9c9966f54b2e4a4eb2ffa2abe343c1b82b823
tree5321475645fa700f9a91bf6018e06ddf4b1401ee
parentc6c575c69abd104397946cbd8f20b3451fdeb369
driconf: Add a new option: disable_glsl_line_continuations

This is to enable a quirk for Savage2 which includes a shader with a stray '\'
at the end of a comment line. Interpreting that backslash as a line
continuation will break the compilation of the shader, so we need a way to
disable this.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/common/xmlpool/t_options.h
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/intel/intel_screen.c
src/mesa/main/mtypes.h