Re: [Mesa-dev] [PATCH] radeonsi: fix texture gather on stencil textures

2017-01-19 Thread Edward O'Callaghan
Acked-by: Edward O'Callaghan On 01/18/2017 07:32 PM, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > At least on VI, texture gather doesn't work with a 24_8 data format, so > use 8_8_8_8 and a modified swizzle instead. > > A bit of background: When creating a GL_STENCIL_INDEX8 texture, we sel

Re: [Mesa-dev] [PATCH] radeonsi: fix texture gather on stencil textures

2017-01-19 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Wed, Jan 18, 2017 at 9:32 AM, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > At least on VI, texture gather doesn't work with a 24_8 data format, so > use 8_8_8_8 and a modified swizzle instead. > > A bit of background: When creating a GL_STENCIL_INDEX8 text

[Mesa-dev] [PATCH] radeonsi: fix texture gather on stencil textures

2017-01-18 Thread Nicolai Hähnle
From: Nicolai Hähnle At least on VI, texture gather doesn't work with a 24_8 data format, so use 8_8_8_8 and a modified swizzle instead. A bit of background: When creating a GL_STENCIL_INDEX8 texture, we select the X24S8 pipe format because we don't support stencil-only render targets properly.