Re: [Mesa-dev] [PATCH v2 1/2] radv: Fix up 2_10_10_10 alpha sign.

2018-05-14 Thread Roland Scheidegger
Slightly OT (not actually radv related), does someone know if this bug affects pre-gcn gpus and if so which ones? There's a bug filed against r600 (with Barts) which suspiciously looks like it's the exact same issue: https://bugs.freedesktop.org/show_bug.cgi?id=105095 But it works for me

Re: [Mesa-dev] [PATCH v2 1/2] radv: Fix up 2_10_10_10 alpha sign.

2018-05-14 Thread Samuel Pitoiset
On 05/14/2018 05:25 PM, Bas Nieuwenhuizen wrote: Pre-Vega HW always interprets the alpha for this format as unsigned, so we have to implement a fixup to do the sign correctly for signed formats. v2: Improve indexing mess. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106480

[Mesa-dev] [PATCH v2 1/2] radv: Fix up 2_10_10_10 alpha sign.

2018-05-14 Thread Bas Nieuwenhuizen
Pre-Vega HW always interprets the alpha for this format as unsigned, so we have to implement a fixup to do the sign correctly for signed formats. v2: Improve indexing mess. CC: 18.0 18.1 --- src/amd/vulkan/radv_nir_to_llvm.c | 68