From f514ad0a9b9bebde0808eadb1e63ea548260be1e Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 28 Jul 2010 11:51:16 +1000 Subject: r600g: use gallium util for float->ui conversion --- src/gallium/drivers/r600/r600_screen.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/gallium/drivers/r600/r600_screen.h') 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 -- cgit v1.2.3