Re: [Mesa-dev] [PATCH 09/10] radeonsi: don't emit AMDGPU intrinsics for RSQ opcodes

2015-10-11 Thread Matt Arsenault
> On Oct 10, 2015, at 6:29 PM, Marek Olšák wrote: > > +/* This requires "unsafe-fp-math" for LLVM to convert it to RSQ. */ > +static void emit_rsq(const struct lp_build_tgsi_action *action, > + struct lp_build_tgsi_context *bld_base, > +

[Mesa-dev] [PATCH 09/10] radeonsi: don't emit AMDGPU intrinsics for RSQ opcodes

2015-10-10 Thread Marek Olšák
From: Marek Olšák Intel and Nouveau use IEEE opcodes, so we should too. If there is a bug caused by not using the clamped RSQ variant, there must be another way to fix it. I don't think the RSQ behavior matters much now that NaNs are disabled. Nine and Wine should implement