-fno-strict-aliasing on the port targets: 40250 relies on MSVC's lack of type-based alias analysis (DXTCImage reads Color8888 through DWORD*). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
193 lines
5.4 KiB
JSON
193 lines
5.4 KiB
JSON
{
|
|
"reference": "EterImageLib/DXTCImage.cpp",
|
|
"reference_sha256": "7e1c9d4a562441aea08b89892ab74907a582c6e0c2c8fd1ccce7fe7a300eead2",
|
|
"priority": "P4",
|
|
"contracts": [],
|
|
"functions": {
|
|
"CDXTCImage::CDXTCImage": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterImageLib/DXTCImage.cpp:CDXTCImage::CDXTCImage"
|
|
],
|
|
"test": [
|
|
"tests/port/port_eter_image_test.cpp"
|
|
]
|
|
},
|
|
"CDXTCImage::~CDXTCImage": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterImageLib/DXTCImage.cpp:CDXTCImage::~CDXTCImage"
|
|
],
|
|
"test": [
|
|
"tests/port/port_eter_image_test.cpp"
|
|
]
|
|
},
|
|
"CDXTCImage::Initialize": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterImageLib/DXTCImage.cpp:CDXTCImage::Initialize"
|
|
],
|
|
"test": [
|
|
"tests/port/port_eter_image_test.cpp"
|
|
]
|
|
},
|
|
"CDXTCImage::Clear": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterImageLib/DXTCImage.cpp:CDXTCImage::Clear"
|
|
],
|
|
"test": [
|
|
"tests/port/port_eter_image_test.cpp"
|
|
]
|
|
},
|
|
"CDXTCImage::LoadFromFile": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterImageLib/DXTCImage.cpp:CDXTCImage::LoadFromFile"
|
|
],
|
|
"test": [
|
|
"tests/port/port_eter_image_test.cpp"
|
|
]
|
|
},
|
|
"CDXTCImage::LoadHeaderFromMemory": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterImageLib/DXTCImage.cpp:CDXTCImage::LoadHeaderFromMemory"
|
|
],
|
|
"test": [
|
|
"tests/port/port_eter_image_test.cpp"
|
|
]
|
|
},
|
|
"CDXTCImage::LoadFromMemory": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterImageLib/DXTCImage.cpp:CDXTCImage::LoadFromMemory"
|
|
],
|
|
"test": [
|
|
"tests/port/port_eter_image_test.cpp"
|
|
]
|
|
},
|
|
"CDXTCImage::Copy": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterImageLib/DXTCImage.cpp:CDXTCImage::Copy"
|
|
],
|
|
"test": [
|
|
"tests/port/port_eter_image_test.cpp"
|
|
]
|
|
},
|
|
"CDXTCImage::Unextract": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterImageLib/DXTCImage.cpp:CDXTCImage::Unextract"
|
|
],
|
|
"test": [
|
|
"tests/port/port_eter_image_test.cpp"
|
|
]
|
|
},
|
|
"CDXTCImage::Decompress": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterImageLib/DXTCImage.cpp:CDXTCImage::Decompress"
|
|
],
|
|
"test": [
|
|
"tests/port/port_eter_image_test.cpp"
|
|
]
|
|
},
|
|
"GetColorBlockColors": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterImageLib/DXTCImage.cpp:GetColorBlockColors"
|
|
],
|
|
"test": [
|
|
"tests/port/port_eter_image_test.cpp"
|
|
]
|
|
},
|
|
"DecodeColorBlock": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterImageLib/DXTCImage.cpp:DecodeColorBlock"
|
|
],
|
|
"test": [
|
|
"tests/port/port_eter_image_test.cpp"
|
|
],
|
|
"note": "verbatim; reads Color8888 through DWORD* (MSVC aliasing) — port targets build with -fno-strict-aliasing"
|
|
},
|
|
"DecodeAlphaExplicit": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterImageLib/DXTCImage.cpp:DecodeAlphaExplicit"
|
|
],
|
|
"test": [
|
|
"tests/port/port_eter_image_test.cpp"
|
|
]
|
|
},
|
|
"DecodeAlpha3BitLinear": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterImageLib/DXTCImage.cpp:DecodeAlpha3BitLinear"
|
|
],
|
|
"test": [
|
|
"tests/port/port_eter_image_test.cpp"
|
|
]
|
|
},
|
|
"CDXTCImage::DecompressDXT1": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterImageLib/DXTCImage.cpp:CDXTCImage::DecompressDXT1"
|
|
],
|
|
"test": [
|
|
"tests/port/port_eter_image_test.cpp"
|
|
],
|
|
"note": "40250: block/pixel addresses via (DWORD) pointer casts. Port: (DWORD_PTR). Invariant: the same byte offsets; a DWORD would truncate a 64-bit pointer."
|
|
},
|
|
"CDXTCImage::DecompressDXT3": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterImageLib/DXTCImage.cpp:CDXTCImage::DecompressDXT3"
|
|
],
|
|
"test": [
|
|
"tests/port/port_eter_image_test.cpp"
|
|
],
|
|
"note": "40250: block/pixel addresses via (DWORD) pointer casts. Port: (DWORD_PTR). Invariant: the same byte offsets; a DWORD would truncate a 64-bit pointer."
|
|
},
|
|
"CDXTCImage::DecompressDXT5": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"src/platform/EterImageLib/DXTCImage.cpp:CDXTCImage::DecompressDXT5"
|
|
],
|
|
"test": [
|
|
"tests/port/port_eter_image_test.cpp"
|
|
],
|
|
"note": "40250: block/pixel addresses via (DWORD) pointer casts. Port: (DWORD_PTR). Invariant: the same byte offsets; a DWORD would truncate a 64-bit pointer."
|
|
},
|
|
"CDXTCImage::DecompressARGB": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterImageLib/DXTCImage.cpp:CDXTCImage::DecompressARGB"
|
|
],
|
|
"test": [
|
|
"tests/port/port_eter_image_test.cpp"
|
|
]
|
|
},
|
|
"GetNumberOfBits": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterImageLib/DXTCImage.cpp:GetNumberOfBits"
|
|
],
|
|
"test": [
|
|
"tests/port/port_eter_image_test.cpp"
|
|
]
|
|
},
|
|
"CDXTCImage::DecodePixelFormat": {
|
|
"status": "PORTED",
|
|
"impl": [
|
|
"src/platform/EterImageLib/DXTCImage.cpp:CDXTCImage::DecodePixelFormat"
|
|
],
|
|
"test": [
|
|
"tests/port/port_eter_image_test.cpp"
|
|
]
|
|
}
|
|
}
|
|
}
|