summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri-vmwgfx/vmw_powf.c
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-06-16 13:50:01 +0100
committerEmil Velikov <[email protected]>2014-07-02 10:52:53 +0100
commit37b7a76266a2a620dd760624c451f83de2147fe4 (patch)
tree2a2dc251fe3e6b9377a6f71f8c0eee16f04b4013 /src/gallium/targets/dri-vmwgfx/vmw_powf.c
parent100e654b2577ec69100f5d1695f4401d74109cf0 (diff)
targets/dri-vmwgfx: Convert to static/shared pipe-drivers
Convert the final hardware driver to a single dri provider which includes all the pipe-drivers. Update the scons build and drop the unused vmw_powf.c. Cc: José Fonseca <[email protected]> Cc: Brian Paul <[email protected]> Cc: Jakob Bornecrantz <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Tested-by: Rob Clark <[email protected]> Tested-by: Thomas Helland <thomashelland90 at gmail.com> Acked-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/targets/dri-vmwgfx/vmw_powf.c')
-rw-r--r--src/gallium/targets/dri-vmwgfx/vmw_powf.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/gallium/targets/dri-vmwgfx/vmw_powf.c b/src/gallium/targets/dri-vmwgfx/vmw_powf.c
deleted file mode 100644
index ca5e39b389a..00000000000
--- a/src/gallium/targets/dri-vmwgfx/vmw_powf.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * Powf may leave an unresolved symbol pointing to a libstdc++.so powf.
- * However, not all libstdc++.so include this function, so optionally
- * replace the powf function with calls to expf and logf.
- */
-
-#ifdef VMW_RESOLVE_POWF
-
-extern float expf(float x);
-extern float logf(float x);
-extern float powf(float x, float y);
-
-float powf(float x, float y) {
- return expf(logf(x)*y);
-}
-
-#endif