summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-12-03 12:05:21 +0100
committerMichal Krol <michal@vmware.com>2009-12-03 12:05:21 +0100
commit018f33a328a05bd7a2094103eb7bbafc8595e6b1 (patch)
tree069ddc6a672982d9460fda23cb6e067be52c2eb0 /src
parent9861ad46ab10196bd99373a275b3ce7b22b5badf (diff)
gallium: Remove pf_mixed_*().
Diffstat (limited to 'src')
-rw-r--r--src/gallium/include/pipe/p_format.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/gallium/include/pipe/p_format.h b/src/gallium/include/pipe/p_format.h
index 390906e359..52fdab4570 100644
--- a/src/gallium/include/pipe/p_format.h
+++ b/src/gallium/include/pipe/p_format.h
@@ -169,17 +169,6 @@ static INLINE uint pf_get(pipe_format_rgbazs_t f, uint shift, uint mask)
typedef uint pipe_format_mixed_t;
-/* NOTE: Use pf_swizzle_* and pf_size_* macros for swizzles and sizes.
- */
-
-#define pf_mixed_sign_x(f) pf_get( f, 26, 0x1 ) /*< Sign of X */
-#define pf_mixed_sign_y(f) pf_get( f, 27, 0x1 ) /*< Sign of Y */
-#define pf_mixed_sign_z(f) pf_get( f, 28, 0x1 ) /*< Sign of Z */
-#define pf_mixed_sign_w(f) pf_get( f, 29, 0x1 ) /*< Sign of W */
-#define pf_mixed_sign_xyzw(f, i) pf_get( f, 26 + (i), 0x1 )
-#define pf_mixed_normalized(f) pf_get( f, 30, 0x1 ) /*< Type is NORM (1) or SCALED (0) */
-#define pf_mixed_scale8(f) pf_get( f, 31, 0x1 ) /*< Scale size by either one (0) or eight (1) */
-
/**
* Helper macro to encode the above structure into a 32-bit value.
*/