OSDN Git Service

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

@@@ -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