Re: [Mesa-dev] [PATCH] radeonsi: lower SQRT to RSQ+RCP to fix the game Risen

2016-05-31 Thread Marek Olšák
On Tue, May 31, 2016 at 5:51 AM, Roland Scheidegger wrote: > Not sure if it's a good idea trying to fix wine bugs via driver hacks? Thanks, I've dug deeper and it looks it's a GLSL compiler bug! It transforms 1/rsq into sqrt, which is incorrect precision-wise. Please ignore

Re: [Mesa-dev] [PATCH] radeonsi: lower SQRT to RSQ+RCP to fix the game Risen

2016-05-30 Thread Roland Scheidegger
Not sure if it's a good idea trying to fix wine bugs via driver hacks? Roland Am 31.05.2016 um 01:19 schrieb Marek Olšák: > From: Marek Olšák > > Sadly, I haven't been able to find any other way to fix the bug > for radeonsi. The game seems to expect DX9 behavior. > >

[Mesa-dev] [PATCH] radeonsi: lower SQRT to RSQ+RCP to fix the game Risen

2016-05-30 Thread Marek Olšák
From: Marek Olšák Sadly, I haven't been able to find any other way to fix the bug for radeonsi. The game seems to expect DX9 behavior. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94627 (against nouveau) --- .../drivers/radeon/radeon_setup_tgsi_llvm.c| 22