summaryrefslogtreecommitdiff
path: root/src/nv30_exa.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-04-19 13:21:27 +1000
committerBen Skeggs <bskeggs@redhat.com>2012-04-24 11:56:04 +1000
commitb48bcc094beecf521899dd63c8fdbccfd534e5cd (patch)
treee33c1c6030a0f2fbe10ad7fba737d363c686fb9a /src/nv30_exa.c
parent5ac2ca8c56ec8b055878c8ac4cbc8ca74379abda (diff)
downloadxorg-driver-xf86-video-nouveau-b48bcc094beecf521899dd63c8fdbccfd534e5cd.tar.gz
nv50/exa: perform texcoord transformations in vertex program
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'src/nv30_exa.c')
-rw-r--r--src/nv30_exa.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nv30_exa.c b/src/nv30_exa.c
index 0df2d0f..d571af3 100644
--- a/src/nv30_exa.c
+++ b/src/nv30_exa.c
@@ -481,9 +481,6 @@ NV30EXAPrepareComposite(int op, PicturePtr psPict,
return TRUE;
}
-#define xFixedToFloat(v) \
- ((float)xFixedToInt((v)) + ((float)xFixedFrac(v) / 65536.0))
-
static void
NV30EXATransformCoord(PictTransformPtr t, int x, int y, float sx, float sy,
float *x_ret, float *y_ret)