)]}'
{
  "commit": "4295fbb849304cf4c0ba0a3a6f1a2bc133f99aca",
  "tree": "7eb72f18f665645cfe44788a6f5589c4da2d8c3f",
  "parents": [
    "ee771a7f913a3233a252eb6d281b4446f6a3c9f5"
  ],
  "author": {
    "name": "Richard Geldreich",
    "email": "richgel99@protonmail.com",
    "time": "Fri Oct 30 11:03:06 2026 -0400"
  },
  "committer": {
    "name": "Richard Geldreich",
    "email": "richgel99@protonmail.com",
    "time": "Fri Oct 30 11:03:06 2026 -0400"
  },
  "message": "PVRTC1: fill the 2x2 block minimum for levels smaller than 8x8 texels; decoder matches PowerVR\u0027s\n\nPVRTC1 4bpp textures are at least 2x2 blocks, and PowerVR\u0027s decoder (PVRTDecompress) decodes a smaller\nlevel as that larger grid. The transcoders wrote only the level\u0027s own blocks, computed as if the image\nwraps at the smaller grid, so the padding blocks (zeroed or unwritten) blended into the image, and an\n8x4 level\u0027s second block landed below the first in the 2x2 order.\n\n- .basis, KTX2 and DDS transcode_image_level(): after a successful PVRTC1 transcode, when the level is\n  smaller than 2x2 blocks and the buffer holds the larger grid, tile the level\u0027s blocks over it in the\n  larger grid\u0027s swizzled order. Decoding that gives exactly the image the transcoder computed.\n- pvrtc4_image decodes small images as the 2x2 block grid, like PVRTDecompress; gpu_image::unpack fills\n  that grid from the level\u0027s own blocks the same way, so existing output decodes as before.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7627bb2ff576278075419493542c84a604ee8823",
      "old_mode": 33188,
      "old_path": "encoder/basisu_gpu_texture.cpp",
      "new_id": "cedecaf768ae7dd7b2bfbd30821154f2baed85d1",
      "new_mode": 33188,
      "new_path": "encoder/basisu_gpu_texture.cpp"
    },
    {
      "type": "modify",
      "old_id": "80ca03b68792ec3f995638bbf6b737958f637c59",
      "old_mode": 33188,
      "old_path": "encoder/basisu_pvrtc1_4.h",
      "new_id": "e6e334530764357b1dd0fd6da3a27d4c0f7f0621",
      "new_mode": 33188,
      "new_path": "encoder/basisu_pvrtc1_4.h"
    },
    {
      "type": "modify",
      "old_id": "41f87da0769280d7c9de7fd47d67fd6fd4800ea0",
      "old_mode": 33188,
      "old_path": "transcoder/basisu_dds_transcoder.inl",
      "new_id": "e874d90555039cd415f10949db6b8705a792960f",
      "new_mode": 33188,
      "new_path": "transcoder/basisu_dds_transcoder.inl"
    },
    {
      "type": "modify",
      "old_id": "f3d559349b3eb43273de55b060c6ce625e2f159f",
      "old_mode": 33188,
      "old_path": "transcoder/basisu_transcoder.cpp",
      "new_id": "286e1bb6dda4b38ee5277031927b65cc5686dbb9",
      "new_mode": 33188,
      "new_path": "transcoder/basisu_transcoder.cpp"
    }
  ]
}
