[Mesa-dev] [PATCH] radeonsi: fix alpha-to-coverage if color writes are disabled

2017-12-31 Thread Józef Kucia
If alpha-to-coverage is enabled, we have to compute alpha even if color writes are disabled. Signed-off-by: Józef Kucia --- Found while running The Witness under Wine. --- src/gallium/drivers/radeonsi/si_state_shaders.c | 5 - 1 file changed, 4 insertions(+), 1

Re: [Mesa-dev] [PATCH 00/17] anv: Rework state tracking to better separate

2017-12-31 Thread Józef Kucia
On Sat, Dec 16, 2017 at 2:08 AM, Jason Ekstrand wrote: > This series is intended to address a bug filed in September: > > https://bugs.freedesktop.org/show_bug.cgi?id=102897 FWIW, I tested the series. It fixes the original issue, and I didn't notice any regressions:

[Mesa-dev] [PATCH v2] r600g: do not use "fast-clear" for small textures

2017-12-31 Thread Konstantin Kharlamov
Ported from radeonsi. Improves windowed glxgears ran as vblank_mode=0 glxgears -info -geometry 0+0+512+512 from ≈2270 FPS to ≈2360 FPS. Tested with AMD TURKS. v2: turned out glxgears ignores the option above, the correct way would be "512x512+0+0". Now it can be seen 512x512 actually

Re: [Mesa-dev] 10-bit Mesa/Gallium support

2017-12-31 Thread Ilia Mirkin
On Thu, Nov 23, 2017 at 1:31 PM, Mario Kleiner wrote: > On 11/23/2017 06:45 PM, Ilia Mirkin wrote: >> >> On Thu, Nov 23, 2017 at 12:35 PM, Marek Olšák wrote: >>> >>> Hi everybody, >>> >>> Mario, feel free to push your patches if you haven't yet.

[Mesa-dev] [PATCH 3/3] r600: set up constants needed for txq for buffers and cube maps with tes

2017-12-31 Thread sroland
From: Roland Scheidegger We only did this for the other stages, but obviously tess eval/ctrl need it too. This fixes the (newly modified) piglit texturing/textureSize test when run with tes stage and bufferSampler. --- src/gallium/drivers/r600/r600_state_common.c | 16

[Mesa-dev] [PATCH 2/3] r600: support 32 vertex attribs for evergreen

2017-12-31 Thread sroland
From: Roland Scheidegger Evergreen clearly has 32 slots, so it should just work (and the affected array is already sized with PIPE_MAX_ATTRIB). Note: As dx10.1 chips, r600/r700 should support this too, but seemingly there's only 16 resource slots for fetch shaders (fs).

[Mesa-dev] [PATCH 1/3] r600: don't emit reloc for ring buffer out into the blue

2017-12-31 Thread sroland
From: Roland Scheidegger It looks like this reloc belongs to setting the constant reg, which is skipped for gs ring. --- src/gallium/drivers/r600/evergreen_state.c | 7 +++ src/gallium/drivers/r600/r600_state.c | 7 +++ 2 files changed, 6 insertions(+), 8

Re: [Mesa-dev] [PATCH 2/3] r600: support 32 vertex attribs for evergreen

2017-12-31 Thread Roland Scheidegger
I just realized that the state tracker will degrade this to 16 attribs anyway (looks like mesa can only handle 16 generic attribs). So, I suppose it's pretty much untested and not all that helpful... Roland Am 01.01.2018 um 03:11 schrieb srol...@vmware.com: > From: Roland Scheidegger

[Mesa-dev] [PATCH 1/6 v3] r600g: do not use "fast-clear" for small textures (v3)

2017-12-31 Thread Konstantin Kharlamov
Ported from radeonsi. Improves windowed glxgears ran as vblank_mode=0 glxgears -info -geometry 0+0+512+512 from ≈2270 FPS to ≈2360 FPS. Tested with AMD TURKS. v2: turned out glxgears ignores the option above, the correct way would be "512x512+0+0". Now it can be seen 512x512 actually

Re: [Mesa-dev] [PATCH v2] r600g: do not use "fast-clear" for small textures

2017-12-31 Thread Konstantin Kharlamov
Ok, you know what, it really annoys me that α) I forgot redundant braces, and β) this mail didn't stuck to the rest of the series. Let me try a v3 just because of that. On 31.12.2017 22:33, Konstantin Kharlamov wrote: Ported from radeonsi. Improves windowed glxgears ran as