i965/vec4_vs: Add an explicit use_legacy_snorm_formula flag
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 23 Jun 2015 00:30:23 +0000 (17:30 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 23 Jun 2015 22:35:01 +0000 (15:35 -0700)
commitbcaf4a3f077e3e3fbc66f264fe9124fa920ee70c
treef078fa7d3212c52559244d10dae161732b9eda35
parent924b15d7de2a4ae9057cdf6d5d589c9b677d3325
i965/vec4_vs: Add an explicit use_legacy_snorm_formula flag

This way we can stop doing is_gles3 checks inside of the compiler.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/drivers/dri/i965/brw_vec4.cpp
src/mesa/drivers/dri/i965/brw_vec4_vs_visitor.cpp
src/mesa/drivers/dri/i965/brw_vs.h