)]}'
{
  "commit": "523d7994a566235cd42f28a712baa931f549f328",
  "tree": "39c1478d38928863033729c4a82d0ea6749a49f7",
  "parents": [
    "141d621786e04392a415bfe89ee916ce0ec80e90"
  ],
  "author": {
    "name": "csmartdalton",
    "email": "hello@rive.app",
    "time": "Mon Apr 07 18:54:47 2025 +0000"
  },
  "committer": {
    "name": "csmartdalton",
    "email": "hello@rive.app",
    "time": "Mon Apr 07 18:54:47 2025 +0000"
  },
  "message": "Fix rendering corruption from nested clipIDs\n\nIn an effort to reduce varying counts, we were stuffing the outerClipID into a float (v_paint.r), and then using this value to compare with a half (v_clipID). On ANGLE at least, this was leading to corruption because even if v_clipID \u003d\u003d v_outerClipID in the vertex shader, they were no longer equal by the time they reached the fragment shader.\n\nAdding one more varying and passing v_outerClipID through as a half instead of a float fixes this problem for now. In the future we may want to consider making them \"flat short\" to be even safer, but the performance cost will be relatively high on some platforms.\n\nThe current solution comes at a slight perf cost when not using nested clipping, but appears to conversely improve things when nested clipping is used.\n\nmarty (no nested clipping): 132.9 fps -\u003e 132.5\npopsicle_loader_bite_4 (heavy nested clipping): 131.9 fps -\u003e 132.9\n\nDiffs\u003d\n373238831d Fix rendering corruption from nested clipIDs (#9383)\n\nCo-authored-by: Chris Dalton \u003c99840794+csmartdalton@users.noreply.github.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "84c64ea6e84aeb2a57595e9d9e83ecb49fe13c6c",
      "old_mode": 33188,
      "old_path": ".rive_head",
      "new_id": "d2b352f0492ba82902678ab11abd91d26344e03e",
      "new_mode": 33188,
      "new_path": ".rive_head"
    },
    {
      "type": "modify",
      "old_id": "4d9f06d41a733947b993a4e39a74259f94a78354",
      "old_mode": 33188,
      "old_path": "renderer/src/shaders/draw_path.glsl",
      "new_id": "046c4aa3e1c072153eaff5712a545565886c8383",
      "new_mode": 33188,
      "new_path": "renderer/src/shaders/draw_path.glsl"
    }
  ]
}
