From fb718af5c20c62c2349146b294493afe12806ede Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 24 Feb 2014 17:48:30 +0100 Subject: [PATCH] (PSL1GHT) Take out unneeded GCM_METHOD macros --- ps3/sdk_defines.h | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/ps3/sdk_defines.h b/ps3/sdk_defines.h index 2e0a0597a2..f2ef3068d4 100644 --- a/ps3/sdk_defines.h +++ b/ps3/sdk_defines.h @@ -546,26 +546,6 @@ extern int audioAddData(uint32_t portNum, float *data, uint32_t frames, float vo #define celGcmSetInvalidateVertexCache cellGcmSetInvalidateVertexCacheInline #endif -/*============================================================ - GCM PROTOTYPES -============================================================ */ - -#ifdef __PSL1GHT__ -#define CELL_GCM_METHOD_HEADER_TEXTURE_OFFSET(unit, val) (((val) << (18)) | ((0x00001a00) + (unit) * 0x20)) -#define CELL_GCM_METHOD_DATA_TEXTURE_OFFSET(val) (val) -#define CELL_GCM_METHOD_DATA_TEXTURE_CONTROL3(pitch, depth) ((pitch) | ((depth) << 20)) -#define CELL_GCM_METHOD_DATA_TEXTURE_IMAGE_RECT(height, width) ((height) | ((width) << 16)) -#define CELL_GCM_METHOD_DATA_TEXTURE_FILTER(bias, min, mag, filter) (((bias)) | ((filter) << 13) | ((min) << 16) | ((mag) << 24)) -#define CELL_GCM_METHOD_DATA_TEXTURE_CONTROL0(val0, minlod, maxlod, filter) (((minlod << 2) | (filter) << 4) | (maxlod << 7) | (minlod << 19) | (val0 << 31)) -#define CELL_GCM_METHOD_DATA_TEXTURE_ADDRESS(wraps, wrapt, wrapr, unsignedremap, zfunc, gamma) ((wraps) | ((0) << 4) | ((wrapt) << 8) | (unsignedremap << 12) | ((wrapr) << 16) | (gamma << 20) | (zfunc << 28)) -#endif - -#define CELL_GCM_REMAP_MODE(order, inputA, inputR, inputG, inputB, outputA, outputR, outputG, outputB) \ - (((order)<<16)|((inputA))|((inputR)<<2)|((inputG)<<4)|((inputB)<<6)|((outputA)<<8)|((outputR)<<10)|((outputG)<<12)|((outputB)<<14)) - -#endif - - /*============================================================ NETWORK PROTOTYPES ============================================================ */ @@ -661,3 +641,5 @@ extern int audioAddData(uint32_t portNum, float *data, uint32_t frames, float vo #include #endif #endif + +#endif