On 02/03/2014 01:29 AM, Chris Forbes wrote:
> This series adds a bunch of workarounds to enable ARB_texture_gather
> (in its more restrictive form) on Gen6 hardware.
>
> These are necessary because Gen6's gather4 instruction doesn't work
> correctly with integer or unsigned integer formats.
>
> T
One further note:
It initially looked like the USCALED/SSCALED surface formats might be
usable for this, and if so would reduce the required shader workaround
to just a single mov for the float to [u]int conversion -- but
unfortunately the sampler is broken for these as well.
-- Chris
On Mon, Fe
This series adds a bunch of workarounds to enable ARB_texture_gather
(in its more restrictive form) on Gen6 hardware.
These are necessary because Gen6's gather4 instruction doesn't work
correctly with integer or unsigned integer formats.
The approach is:
* For 32-bit wide formats, pretend the su