Emulator Issues #4234
closedBPS: The Strike - DX11 PSTextureEncoder Error
0%
Description
What's the problem?
While loading "BPS: The Strike" using DX11 the following errors occur:
DX11::PSTextureEncoder::EncodeFailed in Src
PSTextureEncoder.cpp at line 1058: cache lines per row sanity check
DX11::PSTextureEncoder::EncodeFailed in Src\PSTextureEncoder.cpp at line 1061: total encode size sanity check
Dolphin version with the problem (as it appears in the title bar, Ex.: "R 4779" or "R 6403M"):
r7253 and above
(optional) Dolphin version that does not have the problem:
r7252 and below
Operating system and version:
32-bit or 64-bit:
win7 64bit
Game ID (as it appears in game properties, Ex.: "GZ2P01" or "RSBE01"):
RY8EFS
Build command-line (not on Windows):
Was the ISO a plain dump from disc, compressed and/or scrubbed?
plain dump
Please provide any additional information below.
These are the two problem lines of code:
CHECK(cacheLinesPerRow*32 <= MAX_BYTES_PER_BLOCK_ROW, "cache lines per row sanity check");
and CHECK(totalCacheLines*32 <= MAX_BYTES_PER_ENCODE, "total encode size sanity check");
The value of cacheLinesPerRow32 at the time of the error is 12800 which is somehow larger than MAX_BYTES_PER_BLOCK_ROW (10240). The value of totalCacheLines32 at the time of the error is 1920000 which is somehow larger than MAX_BYTES_PER_ENCODE (1351680).
This is probably going to be an issue for Nolan.Check and may need to be forwarded to him since it has to do with his newer DX11 work.