[Mesa-dev] [PATCH] docs: document INTEL_PRECISE_TRIG envvar

Jordan Justen jordan.l.justen at intel.com
Thu Jan 12 00:28:55 UTC 2017


On 2017-01-11 09:53:15, Juan A. Suarez Romero wrote:
> ---
>  docs/envvars.html | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/docs/envvars.html b/docs/envvars.html
> index 9eee8db..4f05d7f 100644
> --- a/docs/envvars.html
> +++ b/docs/envvars.html
> @@ -187,6 +187,7 @@ See the <a href="xlibdriver.html">Xlib software driver page</a> for details.
>     <li>do32 - generate compute shader SIMD32 programs even if workgroup size doesn't exceed the SIMD16 limit</li>
>     <li>norbc - disable single sampled render buffer compression</li>
>  </ul>
> +<li>INTEL_PRECISE_TRIG - if set to 1 in gen<10, it fixes results out of [-1.0, 1.0] range for a small set of values.</li>

It can also be set to "true" or "yes".

I think the description could be more generic, like the precise_trig
in src/mesa/drivers/dri/common/xmlpool/t_options.h.

<li>INTEL_PRECISE_TRIG - if set to 1, true or yes, then the driver
    prefers accuracy over performance in trig functions.</li>

Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>

>  </ul>
>  
>  
> -- 
> 2.9.3
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list