Merge remote-tracking branch 'public/master' into vulkan
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 4 Apr 2016 20:58:05 +0000 (13:58 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 4 Apr 2016 20:58:05 +0000 (13:58 -0700)
1  2 
src/mesa/drivers/dri/i965/brw_compiler.c
src/mesa/drivers/dri/i965/brw_compiler.h
src/mesa/drivers/dri/i965/brw_fs_nir.cpp
src/mesa/drivers/dri/i965/brw_surface_formats.c
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp
src/mesa/main/mtypes.h

index fb5740114dc73c779419becfbdda7cb1529c6bd5,231e0001d545e1e9ded26b870d702bda5b6f3992..cf0b088613beb17b646f9fa9c3b38101061f970a
@@@ -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.
Simple merge