From: Jason Ekstrand Date: Mon, 4 Apr 2016 20:58:05 +0000 (-0700) Subject: Merge remote-tracking branch 'public/master' into vulkan X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a049687841d87fc5bbd0fb0a192f03776f67630;p=mesa.git Merge remote-tracking branch 'public/master' into vulkan --- 6a049687841d87fc5bbd0fb0a192f03776f67630 diff --cc src/mesa/drivers/dri/i965/brw_compiler.h index fb5740114dc,231e0001d54..cf0b088613b --- a/src/mesa/drivers/dri/i965/brw_compiler.h +++ b/src/mesa/drivers/dri/i965/brw_compiler.h @@@ -92,11 -92,14 +92,17 @@@ struct brw_compiler bool scalar_stage[MESA_SHADER_STAGES]; struct gl_shader_compiler_options glsl_compiler_options[MESA_SHADER_STAGES]; + + /** + * Apply workarounds for SIN and COS output range problems. + * This can negatively impact performance. + */ + bool precise_trig; }; +struct brw_compiler * +brw_compiler_create(void *mem_ctx, const struct brw_device_info *devinfo); + /** * Program key structures.