Re: [Mesa-dev] [PATCH] r600: Scale integer valued texture border colors to float (v2)

2018-07-24 Thread Roland Scheidegger
Am 24.07.2018 um 21:27 schrieb Gert Wollny: > It seems the hardware always expects floating point border color values > [0,1] for unsigned, and [-1,1] for signed texture component, regardless > of pixel type, but the border colors are passed according to texture > component type. Hence, before

Re: [Mesa-dev] [PATCH] r600: Scale integer valued texture border colors to float (v2)

2018-07-24 Thread Gert Wollny
whitespace errors were fixed locally best, Gert Am Dienstag, den 24.07.2018, 21:27 +0200 schrieb Gert Wollny: > It seems the hardware always expects floating point border color > values > [0,1] for unsigned, and [-1,1] for signed texture component, > regardless > of pixel type, but the border

[Mesa-dev] [PATCH] r600: Scale integer valued texture border colors to float (v2)

2018-07-24 Thread Gert Wollny
It seems the hardware always expects floating point border color values [0,1] for unsigned, and [-1,1] for signed texture component, regardless of pixel type, but the border colors are passed according to texture component type. Hence, before submitting the border color, convert and scale it these