summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_screen.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-07-28 11:51:16 +1000
committerDave Airlie <[email protected]>2010-07-28 11:55:09 +1000
commitf514ad0a9b9bebde0808eadb1e63ea548260be1e (patch)
tree85a23e5bdc0deaabfb2677d455813422b8944ad8 /src/gallium/drivers/r600/r600_screen.h
parentb172aebfdf288d3487876f7cb01c62582920d4c2 (diff)
r600g: use gallium util for float->ui conversion
Diffstat (limited to 'src/gallium/drivers/r600/r600_screen.h')
-rw-r--r--src/gallium/drivers/r600/r600_screen.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/gallium/drivers/r600/r600_screen.h b/src/gallium/drivers/r600/r600_screen.h
index 0a0286d96bc..7a373cd0ef3 100644
--- a/src/gallium/drivers/r600/r600_screen.h
+++ b/src/gallium/drivers/r600/r600_screen.h
@@ -88,17 +88,4 @@ void r600_texture_transfer_unmap(struct pipe_context *ctx,
int r600_conv_pipe_format(unsigned pformat, unsigned *format);
int r600_conv_pipe_prim(unsigned pprim, unsigned *prim);
-union r600_float_to_u32_u {
- u32 u;
- float f;
-};
-
-static inline u32 r600_float_to_u32(float f)
-{
- union r600_float_to_u32_u c;
-
- c.f = f;
- return c.u;
-}
-
#endif