mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 07:20:36 +00:00
(RGL PS3) Take out ppuData from struct
This commit is contained in:
parent
6823e6ca98
commit
b8178a60eb
@ -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;
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user