New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TextureCacheBase: Change CacheLinesPerRow to BytesPerRow #3188
Conversation
{ | ||
u32 blockW = TexDecoder_GetBlockWidthInTexels(format); | ||
constexpr u32 TEXTURE_BLOCKS_PER_ROW = 32; |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
|
||
u32 numBlocksX = actualWidth / blockW; | ||
|
||
// RGBA takes two cache lines per block; all others take one | ||
if (format == GX_TF_RGBA8) | ||
numBlocksX = numBlocksX * 2; | ||
return numBlocksX; |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
LGTM |
1 similar comment
LGTM |
Yeah. The buildbot's were why I didn't actually press merge. That function wants number of 32bit words per row. So bytesPerRow / sizeof(u32) |
@dolphin-emu-bot rebuild |
TextureCacheBase: Change CacheLinesPerRow to BytesPerRow
FifoCI detected that this change impacts graphical rendering. Here are the behavior differences detected by the system:
automated-fifoci-reporter |
No description provided.