You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
202 lines
14 KiB
202 lines
14 KiB
//================ Copyright (c) Valve Corporation. All Rights Reserved. ===========================
|
|
//
|
|
// Configure gcm be inline, unsfae etc....
|
|
// Inlcude (spu or ppu) after cell headers
|
|
//
|
|
//==================================================================================================
|
|
|
|
#ifndef INCLUDED_GCMCONFIG_H
|
|
#define INCLUDED_GCMCONFIG_H
|
|
|
|
// Comment in one GCMCONFIG defn as required
|
|
|
|
//#define GCMCONFIG(x) x##Inline
|
|
#define GCMCONFIG(x) x##UnsafeInline
|
|
//#define GCMCONFIG(x) x
|
|
|
|
#define GCM_FUNC( GCM_FUNCTION, ...) GCM_FUNCTION ( gpGcmContext, ##__VA_ARGS__ )
|
|
|
|
#define cellGcmSetReferenceCommand GCMCONFIG(cellGcmSetReferenceCommand)
|
|
#define cellGcmSetJumpCommand GCMCONFIG(cellGcmSetJumpCommand)
|
|
#define cellGcmSetCallCommand GCMCONFIG(cellGcmSetCallCommand)
|
|
#define cellGcmSetReturnCommand GCMCONFIG(cellGcmSetReturnCommand)
|
|
#define cellGcmSetAntiAliasingControl GCMCONFIG(cellGcmSetAntiAliasingControl)
|
|
#define cellGcmSetWaitLabel GCMCONFIG(cellGcmSetWaitLabel)
|
|
#define cellGcmSetWriteCommandLabel GCMCONFIG(cellGcmSetWriteCommandLabel)
|
|
#define cellGcmSetWriteBackEndLabel GCMCONFIG(cellGcmSetWriteBackEndLabel)
|
|
#define cellGcmSetWriteTextureLabel GCMCONFIG(cellGcmSetWriteTextureLabel)
|
|
#define cellGcmSetTimeStamp GCMCONFIG(cellGcmSetTimeStamp)
|
|
#define cellGcmSetInvalidateZcull GCMCONFIG(cellGcmSetInvalidateZcull)
|
|
#define cellGcmSetAlphaFunc GCMCONFIG(cellGcmSetAlphaFunc)
|
|
#define cellGcmSetBlendColor GCMCONFIG(cellGcmSetBlendColor)
|
|
#define cellGcmSetBlendEquation GCMCONFIG(cellGcmSetBlendEquation)
|
|
#define cellGcmSetBlendFunc GCMCONFIG(cellGcmSetBlendFunc)
|
|
#define cellGcmSetClearSurface GCMCONFIG(cellGcmSetClearSurface)
|
|
#define cellGcmSetClearColor GCMCONFIG(cellGcmSetClearColor)
|
|
#define cellGcmSetClearDepthStencil GCMCONFIG(cellGcmSetClearDepthStencil)
|
|
#define cellGcmSetColorMask GCMCONFIG(cellGcmSetColorMask)
|
|
#define cellGcmSetColorMaskMrt GCMCONFIG(cellGcmSetColorMaskMrt)
|
|
#define cellGcmSetCullFace GCMCONFIG(cellGcmSetCullFace)
|
|
#define cellGcmSetDepthBounds GCMCONFIG(cellGcmSetDepthBounds)
|
|
#define cellGcmSetDepthFunc GCMCONFIG(cellGcmSetDepthFunc)
|
|
#define cellGcmSetDepthMask GCMCONFIG(cellGcmSetDepthMask)
|
|
#define cellGcmSetFrontFace GCMCONFIG(cellGcmSetFrontFace)
|
|
#define cellGcmSetLineWidth GCMCONFIG(cellGcmSetLineWidth)
|
|
#define cellGcmSetLineSmoothEnable GCMCONFIG(cellGcmSetLineSmoothEnable)
|
|
#define cellGcmSetLineStippleEnable GCMCONFIG(cellGcmSetLineStippleEnable)
|
|
#define cellGcmSetLineStipplePattern GCMCONFIG(cellGcmSetLineStipplePattern)
|
|
#define cellGcmSetLogicOp GCMCONFIG(cellGcmSetLogicOp)
|
|
#define cellGcmSetPointSize GCMCONFIG(cellGcmSetPointSize)
|
|
#define cellGcmSetPolygonOffset GCMCONFIG(cellGcmSetPolygonOffset)
|
|
#define cellGcmSetPolySmoothEnable GCMCONFIG(cellGcmSetPolySmoothEnable)
|
|
#define cellGcmSetPolygonStippleEnable GCMCONFIG(cellGcmSetPolygonStippleEnable)
|
|
#define cellGcmSetPolygonStipplePattern GCMCONFIG(cellGcmSetPolygonStipplePattern)
|
|
#define cellGcmSetFrontPolygonMode GCMCONFIG(cellGcmSetFrontPolygonMode)
|
|
#define cellGcmSetBackPolygonMode GCMCONFIG(cellGcmSetBackPolygonMode)
|
|
#define cellGcmSetScissor GCMCONFIG(cellGcmSetScissor)
|
|
#define cellGcmSetShadeMode GCMCONFIG(cellGcmSetShadeMode)
|
|
#define cellGcmSetTwoSideLightEnable GCMCONFIG(cellGcmSetTwoSideLightEnable)
|
|
#define cellGcmSetStencilFunc GCMCONFIG(cellGcmSetStencilFunc)
|
|
#define cellGcmSetBackStencilFunc GCMCONFIG(cellGcmSetBackStencilFunc)
|
|
#define cellGcmSetStencilMask GCMCONFIG(cellGcmSetStencilMask)
|
|
#define cellGcmSetBackStencilMask GCMCONFIG(cellGcmSetBackStencilMask)
|
|
#define cellGcmSetStencilOp GCMCONFIG(cellGcmSetStencilOp)
|
|
#define cellGcmSetBackStencilOp GCMCONFIG(cellGcmSetBackStencilOp)
|
|
#define cellGcmSetZMinMaxControl GCMCONFIG(cellGcmSetZMinMaxControl)
|
|
#define cellGcmSetAlphaTestEnable GCMCONFIG(cellGcmSetAlphaTestEnable)
|
|
#define cellGcmSetBlendEnable GCMCONFIG(cellGcmSetBlendEnable)
|
|
#define cellGcmSetBlendEnableMrt GCMCONFIG(cellGcmSetBlendEnableMrt)
|
|
#define cellGcmSetLogicOpEnable GCMCONFIG(cellGcmSetLogicOpEnable)
|
|
#define cellGcmSetCullFaceEnable GCMCONFIG(cellGcmSetCullFaceEnable)
|
|
#define cellGcmSetDepthBoundsTestEnable GCMCONFIG(cellGcmSetDepthBoundsTestEnable)
|
|
#define cellGcmSetDepthTestEnable GCMCONFIG(cellGcmSetDepthTestEnable)
|
|
#define cellGcmSetDitherEnable GCMCONFIG(cellGcmSetDitherEnable)
|
|
#define cellGcmSetStencilTestEnable GCMCONFIG(cellGcmSetStencilTestEnable)
|
|
#define cellGcmSetTwoSidedStencilTestEnable GCMCONFIG(cellGcmSetTwoSidedStencilTestEnable)
|
|
#define cellGcmSetPolygonOffsetFillEnable GCMCONFIG(cellGcmSetPolygonOffsetFillEnable)
|
|
#define cellGcmSetRestartIndexEnable GCMCONFIG(cellGcmSetRestartIndexEnable)
|
|
#define cellGcmSetPointSpriteControl GCMCONFIG(cellGcmSetPointSpriteControl)
|
|
#define cellGcmSetInvalidateTextureCache GCMCONFIG(cellGcmSetInvalidateTextureCache)
|
|
#define cellGcmSetTextureBorderColor GCMCONFIG(cellGcmSetTextureBorderColor)
|
|
#define cellGcmSetTextureControl GCMCONFIG(cellGcmSetTextureControl)
|
|
#define cellGcmSetTextureOptimization GCMCONFIG(cellGcmSetTextureOptimization)
|
|
#define cellGcmSetCylindricalWrap GCMCONFIG(cellGcmSetCylindricalWrap)
|
|
#define cellGcmSetInvalidateVertexCache GCMCONFIG(cellGcmSetInvalidateVertexCache)
|
|
#define cellGcmSetRestartIndex GCMCONFIG(cellGcmSetRestartIndex)
|
|
#define cellGcmSetVertexData4f GCMCONFIG(cellGcmSetVertexData4f)
|
|
#define cellGcmSetFrequencyDividerOperation GCMCONFIG(cellGcmSetFrequencyDividerOperation)
|
|
#define cellGcmSetTransformBranchBits GCMCONFIG(cellGcmSetTransformBranchBits)
|
|
#define cellGcmSetVertexAttribInputMask GCMCONFIG(cellGcmSetVertexAttribInputMask)
|
|
#define cellGcmSetFragmentProgramGammaEnable GCMCONFIG(cellGcmSetFragmentProgramGammaEnable)
|
|
#define cellGcmSetRenderEnable GCMCONFIG(cellGcmSetRenderEnable)
|
|
#define cellGcmSetZpassPixelCountEnable GCMCONFIG(cellGcmSetZpassPixelCountEnable)
|
|
#define cellGcmSetClearReport GCMCONFIG(cellGcmSetClearReport)
|
|
#define cellGcmSetReport GCMCONFIG(cellGcmSetReport)
|
|
#define cellGcmSetZcullStatsEnable GCMCONFIG(cellGcmSetZcullStatsEnable)
|
|
#define cellGcmSetZcullControl GCMCONFIG(cellGcmSetZcullControl)
|
|
#define cellGcmSetZcullLimit GCMCONFIG(cellGcmSetZcullLimit)
|
|
#define cellGcmSetScullControl GCMCONFIG(cellGcmSetScullControl)
|
|
#define cellGcmSetVertexTextureAddress GCMCONFIG(cellGcmSetVertexTextureAddress)
|
|
#define cellGcmSetVertexTextureFilter GCMCONFIG(cellGcmSetVertexTextureFilter)
|
|
#define cellGcmSetVertexTextureControl GCMCONFIG(cellGcmSetVertexTextureControl)
|
|
#define cellGcmSetVertexTextureBorderColor GCMCONFIG(cellGcmSetVertexTextureBorderColor)
|
|
#define cellGcmSetPerfMonTrigger GCMCONFIG(cellGcmSetPerfMonTrigger)
|
|
#define cellGcmSetFogMode GCMCONFIG(cellGcmSetFogMode)
|
|
#define cellGcmSetFogParams GCMCONFIG(cellGcmSetFogParams)
|
|
#define cellGcmSetTransferLocation GCMCONFIG(cellGcmSetTransferLocation)
|
|
#define cellGcmSetDepthFormat GCMCONFIG(cellGcmSetDepthFormat)
|
|
#define cellGcmSetBlendOptimization GCMCONFIG(cellGcmSetBlendOptimization)
|
|
#define cellGcmSetPolygonOffsetLineEnable GCMCONFIG(cellGcmSetPolygonOffsetLineEnable)
|
|
#define cellGcmSetVertexAttribOutputMask GCMCONFIG(cellGcmSetVertexAttribOutputMask)
|
|
#define cellGcmSetTextureRemap GCMCONFIG(cellGcmSetTextureRemap)
|
|
#define cellGcmSetVertexProgramStartSlot GCMCONFIG(cellGcmSetVertexProgramStartSlot)
|
|
#define cellGcmSetVertexProgramRegisterCount GCMCONFIG(cellGcmSetVertexProgramRegisterCount)
|
|
#define cellGcmSetTransferDataMode GCMCONFIG(cellGcmSetTransferDataMode)
|
|
#define cellGcmSetDrawBegin GCMCONFIG(cellGcmSetDrawBegin)
|
|
#define cellGcmSetDrawEnd GCMCONFIG(cellGcmSetDrawEnd)
|
|
#define cellGcmSetVertexDataArrayFormat GCMCONFIG(cellGcmSetVertexDataArrayFormat)
|
|
#define cellGcmSetVertexDataArrayOffset GCMCONFIG(cellGcmSetVertexDataArrayOffset)
|
|
#define cellGcmSetUpdateFragmentProgramParameterLocation GCMCONFIG(cellGcmSetUpdateFragmentProgramParameterLocation)
|
|
#define cellGcmSetVertexDataBase GCMCONFIG(cellGcmSetVertexDataBase)
|
|
#define cellGcmSetFragmentProgramOffset GCMCONFIG(cellGcmSetFragmentProgramOffset)
|
|
#define cellGcmSetFragmentProgramControl GCMCONFIG(cellGcmSetFragmentProgramControl)
|
|
#define cellGcmSetClearZcullSurface GCMCONFIG(cellGcmSetClearZcullSurface)
|
|
#define cellGcmSetZcullEnable GCMCONFIG(cellGcmSetZcullEnable)
|
|
#define cellGcmSetUserCommand GCMCONFIG(cellGcmSetUserCommand)
|
|
#define cellGcmSetReportLocation GCMCONFIG(cellGcmSetReportLocation)
|
|
#define cellGcmSetNotifyIndex GCMCONFIG(cellGcmSetNotifyIndex)
|
|
#define cellGcmSetNotify GCMCONFIG(cellGcmSetNotify)
|
|
#define cellGcmSetTextureFilter GCMCONFIG(cellGcmSetTextureFilter)
|
|
#define cellGcmSetTextureAddress GCMCONFIG(cellGcmSetTextureAddress)
|
|
#define cellGcmSetUserClipPlaneControl GCMCONFIG(cellGcmSetUserClipPlaneControl)
|
|
#define cellGcmSetAnisoSpread GCMCONFIG(cellGcmSetAnisoSpread)
|
|
#define cellGcmSetNopCommand GCMCONFIG(cellGcmSetNopCommand)
|
|
#define cellGcmSetSkipNop GCMCONFIG(cellGcmSetSkipNop)
|
|
#define cellGcmReserveMethodSize GCMCONFIG(cellGcmReserveMethodSize)
|
|
#define cellGcmSetWriteBackEndLabelForConditional GCMCONFIG(cellGcmSetWriteBackEndLabelForConditional)
|
|
#define cellGcmSetWriteTextureLabelForConditional GCMCONFIG(cellGcmSetWriteTextureLabelForConditional)
|
|
#define cellGcmSetVertexProgram GCMCONFIG(cellGcmSetVertexProgram)
|
|
#define cellGcmSetFragmentProgramLoadLocation GCMCONFIG(cellGcmSetFragmentProgramLoadLocation)
|
|
#define cellGcmSetVertexProgramLoad GCMCONFIG(cellGcmSetVertexProgramLoad)
|
|
#define cellGcmSetVertexProgramLoadSlot GCMCONFIG(cellGcmSetVertexProgramLoadSlot)
|
|
#define cellGcmSetVertexProgramConstants GCMCONFIG(cellGcmSetVertexProgramConstants)
|
|
#define cellGcmSetVertexProgramParameterBlock GCMCONFIG(cellGcmSetVertexProgramParameterBlock)
|
|
#define cellGcmSetVertexDataArray GCMCONFIG(cellGcmSetVertexDataArray)
|
|
#define cellGcmSetTextureBorder GCMCONFIG(cellGcmSetTextureBorder)
|
|
#define cellGcmSetWaitFlip GCMCONFIG(cellGcmSetWaitFlip)
|
|
#define cellGcmSetFragmentProgramParameterPointer GCMCONFIG(cellGcmSetFragmentProgramParameterPointer)
|
|
#define cellGcmSetFragmentProgramParameter GCMCONFIG(cellGcmSetFragmentProgramParameter)
|
|
#define cellGcmSetFragmentProgram GCMCONFIG(cellGcmSetFragmentProgram)
|
|
#define cellGcmSetVertexProgramParameter GCMCONFIG(cellGcmSetVertexProgramParameter)
|
|
#define cellGcmSetFragmentProgramLoad GCMCONFIG(cellGcmSetFragmentProgramLoad)
|
|
#define cellGcmSetUpdateFragmentProgramParameter GCMCONFIG(cellGcmSetUpdateFragmentProgramParameter)
|
|
#define cellGcmSetTextureFilterSigned GCMCONFIG(cellGcmSetTextureFilterSigned)
|
|
#define cellGcmSetClipMinMax GCMCONFIG(cellGcmSetClipMinMax)
|
|
#define cellGcmSetViewport GCMCONFIG(cellGcmSetViewport)
|
|
#define cellGcmSetTextureAddressAnisoBiasRemap GCMCONFIG(cellGcmSetTextureAddressAnisoBiasRemap)
|
|
#define cellGcmSetTextureAddressAnisoBias GCMCONFIG(cellGcmSetTextureAddressAnisoBias)
|
|
#define cellGcmSetTexture GCMCONFIG(cellGcmSetTexture)
|
|
#define cellGcmSetVertexTexture GCMCONFIG(cellGcmSetVertexTexture)
|
|
#define cellGcmSetSurface GCMCONFIG(cellGcmSetSurface)
|
|
#define cellGcmSetSurfaceWindow GCMCONFIG(cellGcmSetSurfaceWindow)
|
|
#define cellGcmSetInlineTransfer GCMCONFIG(cellGcmSetInlineTransfer)
|
|
#define cellGcmInlineTransfer GCMCONFIG(cellGcmInlineTransfer)
|
|
#define cellGcmSetTransferImage GCMCONFIG(cellGcmSetTransferImage)
|
|
#define cellGcmTransferData GCMCONFIG(cellGcmTransferData)
|
|
#define cellGcmSetTransferData GCMCONFIG(cellGcmSetTransferData)
|
|
#define cellGcmSetConvertSwizzleFormat GCMCONFIG(cellGcmSetConvertSwizzleFormat)
|
|
#define cellGcmSetInlineTransferPointer GCMCONFIG(cellGcmSetInlineTransferPointer)
|
|
#define cellGcmSetTransferDataFormat GCMCONFIG(cellGcmSetTransferDataFormat)
|
|
#define cellGcmSetTransferDataOffset GCMCONFIG(cellGcmSetTransferDataOffset)
|
|
#define cellGcmSetTransferScaleMode GCMCONFIG(cellGcmSetTransferScaleMode)
|
|
#define cellGcmSetTransferScaleSurface GCMCONFIG(cellGcmSetTransferScaleSurface)
|
|
#define cellGcmSetTransferScaleSwizzle GCMCONFIG(cellGcmSetTransferScaleSwizzle)
|
|
#define cellGcmSetTransferReportData GCMCONFIG(cellGcmSetTransferReportData)
|
|
#define cellGcmSetDrawArrays GCMCONFIG(cellGcmSetDrawArrays)
|
|
#define cellGcmSetDrawIndexArray GCMCONFIG(cellGcmSetDrawIndexArray)
|
|
#define cellGcmSetDrawInlineArray GCMCONFIG(cellGcmSetDrawInlineArray)
|
|
#define cellGcmSetDrawInlineIndexArray32 GCMCONFIG(cellGcmSetDrawInlineIndexArray32)
|
|
#define cellGcmSetDrawInlineIndexArray16 GCMCONFIG(cellGcmSetDrawInlineIndexArray16)
|
|
#define cellGcmSetDrawInlineArrayPointer GCMCONFIG(cellGcmSetDrawInlineArrayPointer)
|
|
#define cellGcmSetVertexProgramConstantsPointer GCMCONFIG(cellGcmSetVertexProgramConstantsPointer)
|
|
#define cellGcmSetDrawInlineIndexArray32Pointer GCMCONFIG(cellGcmSetDrawInlineIndexArray32Pointer)
|
|
#define cellGcmSetDrawInlineIndexArray16Pointer GCMCONFIG(cellGcmSetDrawInlineIndexArray16Pointer)
|
|
#define cellGcmSetVertexProgramParameterBlockPointer GCMCONFIG(cellGcmSetVertexProgramParameterBlockPointer)
|
|
#define cellGcmSetWaitForIdle GCMCONFIG(cellGcmSetWaitForIdle)
|
|
#define cellGcmSetVertexData3f GCMCONFIG(cellGcmSetVertexData3f)
|
|
#define cellGcmSetVertexData2f GCMCONFIG(cellGcmSetVertexData2f)
|
|
#define cellGcmSetVertexData1f GCMCONFIG(cellGcmSetVertexData1f)
|
|
#define cellGcmSetVertexData4s GCMCONFIG(cellGcmSetVertexData4s)
|
|
#define cellGcmSetVertexDataScaled4s GCMCONFIG(cellGcmSetVertexDataScaled4s)
|
|
#define cellGcmSetVertexData2s GCMCONFIG(cellGcmSetVertexData2s)
|
|
#define cellGcmSetVertexData4ub GCMCONFIG(cellGcmSetVertexData4ub)
|
|
#define cellGcmSetTextureControlAlphaKill GCMCONFIG(cellGcmSetTextureControlAlphaKill)
|
|
#define cellGcmSetNoParanoidTextureFetches GCMCONFIG(cellGcmSetNoParanoidTextureFetches)
|
|
#define cellGcmSetInlineTransferAlignedPointer GCMCONFIG(cellGcmSetInlineTransferAlignedPointer)
|
|
#define cellGcmSetVertexProgramConstantsAlignedPointer GCMCONFIG(cellGcmSetVertexProgramConstantsAlignedPointer)
|
|
#define cellGcmSetVertexProgramParameterBlockAlignedPointer GCMCONFIG(cellGcmSetVertexProgramParameterBlockAlignedPointer)
|
|
#define cellGcmSetDrawInlineArrayAlignedPointer GCMCONFIG(cellGcmSetDrawInlineArrayAlignedPointer)
|
|
#define cellGcmSetDrawInlineIndexArray32AlignedPointer GCMCONFIG(cellGcmSetDrawInlineIndexArray32AlignedPointer)
|
|
#define cellGcmSetDrawInlineIndexArray16AlignedPointer GCMCONFIG(cellGcmSetDrawInlineIndexArray16AlignedPointer)
|
|
|
|
#endif // INCLUDED_GCMCONFIG_H
|