(RGL PS3) Take out ppuData from struct

This commit is contained in:
twinaphex 2013-03-27 06:51:55 +01:00
parent 6823e6ca98
commit b8178a60eb
2 changed files with 0 additions and 7 deletions

View File

@ -36,8 +36,6 @@ typedef struct
GLenum pool; // type of memory
char* ppuData; // generic EA that's not RSX mem
GLuint dataId; // id to get address and offset
GLuint dataIdOffset;
} rglGcmSurface;

View File

@ -2597,7 +2597,6 @@ source: RGLGCM_SURFACE_SOURCE_TEMPORARY,
pitch: 0, // replaced per image
format: layout->internalFormat,
pool: RGLGCM_SURFACE_POOL_LINEAR, // via bounce buffer
ppuData: NULL, // replaced per image
dataId: GMM_ERROR,
dataIdOffset:0,
};
@ -2610,7 +2609,6 @@ source: RGLGCM_SURFACE_SOURCE_TEXTURE,
pitch: layout->pitch,
format: layout->internalFormat,
pool: gcmTexture->pool,
ppuData: NULL, // replaced per image
dataId: GMM_ERROR,
dataIdOffset:0,
};
@ -2623,9 +2621,6 @@ source: RGLGCM_SURFACE_SOURCE_TEXTURE,
if ( image->dataState == RGL_IMAGE_DATASTATE_HOST )
{
// set source pixel buffer
src.ppuData = image->data;
// lazy allocation of bounce buffer
if ( bounceBufferId == GMM_ERROR && layout->baseDepth == 1 )
bounceBufferId = gmmAlloc((CellGcmContextData*)&rglGcmState_i.fifo,