util/format: Generate floating point constants for clamping.
[mesa.git] / src / gallium / auxiliary / util / u_box.h
index e9c71743fc89e62a723b8e5b112e4f88885cf66f..0b28d0f12c3530cde20aaa3bdc09d0a8af81e51b 100644 (file)
@@ -60,7 +60,6 @@ void u_box_2d_zslice( unsigned x,
    box->depth = 1;
 }
 
-
 static INLINE
 void u_box_3d( unsigned x,
               unsigned y,
@@ -78,15 +77,4 @@ void u_box_3d( unsigned x,
    box->depth = d;
 }
 
-
-static INLINE
-struct pipe_subresource u_subresource( unsigned face,
-                                      unsigned level )
-{
-   struct pipe_subresource subresource;
-   subresource.face = face;
-   subresource.level = level;
-   return subresource;
-}
-
 #endif