OSDN Git Service

st/nine: Fix POW implementation
authorAxel Davy <axel.davy@ens.fr>
Wed, 3 Dec 2014 14:14:07 +0000 (15:14 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 22 Jan 2015 22:16:20 +0000 (22:16 +0000)
commitc12f8c208882a7e9aac0c488c08ee1771ead5a0d
treec4769a0354003fbafe0d36ff8214bdea44e8ae00
parente0dd9ca9854b27104176d961d5c8b37b1e0637e5
st/nine: Fix POW implementation

POW doesn't match directly TGSI, since we should
take the absolute value of src0.

Fixes black textures in some games

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Axel Davy <axel.davy@ens.fr>
Cc: "10.4" <mesa-stable@lists.freedesktop.org>
src/gallium/state_trackers/nine/nine_shader.c