)]}'
{
  "commit": "b18f7f7e4d053dcfa2917d7642685e254677db20",
  "tree": "42a0cd0b05605eb32b06a68935cc2c5ede41a816",
  "parents": [
    "db587972c25262e9f964893b88f02ce3cc46b904"
  ],
  "author": {
    "name": "philter",
    "email": "hello@rive.app",
    "time": "Thu May 21 21:15:30 2026 +0000"
  },
  "committer": {
    "name": "philter",
    "email": "hello@rive.app",
    "time": "Thu May 21 21:15:30 2026 +0000"
  },
  "message": "chore: Add \"resize\" Image fit type to differentiate from \"fill\" (#12627) 91c4dd9b77\nWe need a new fit type for images to indicate \"legacy\" behavior. The difference between legacy and \"fill\" is that prior to adding support for fit types and alignment, the position of the image in a layout was driven entirely by its x,y values and its origin. However, fit types always apply their fit transform the same regardless of the origin. So for example, an image with origin 0% and one with origin 50% will render in the same position (as determined by alignment), but that is different than how we applied transforms for images prior to this feature.\n\nThis is resolved by adding a new \"resize\" fit type, which is the default value and maintains the old behavior. All other behaviors need to explicitly set another fit type. Types \"resize\" and \"fill\" behave the same when origin is set to its default 0%.\n\nfix: Ore Y-flip in shaders + platform Vulkan + D3D11/D3D12 wiring (#12581) 464703668f\nORE Vulkan hardening, Y-flip via shader, D3D wiring, NX port\n\nSquashed from 22 commits on ore_vulkan_fix (PR #12581).\n\nVulkan hardening:\n- RenderPass texture rcps + stencil-ref keep-alives (prevents script-side\n  rcp drop from racing the recording CB; backs WebGPU stencil-ref-is-pass-state\n  semantics against VK_DYNAMIC_STATE_STENCIL_REFERENCE).\n- Generalized vkQueueTransitionToLayout + pipelineStageAndAccessForLayout\n  helper (modeled after Dawn\u0027s VulkanPipelineStage).\n- vkFormatFor(): runtime D24S8 vs D32S8 probe based on\n  GetPhysicalDeviceFormatProperties.\n- ensureCmdBufRecording: auto-reopen CB when scripted call happens outside\n  host begin/endFrame bracket.\n- Orphan-CB flush at top of beginFrame and ~ContextVulkan.\n- Default in-pass viewport/scissor (Y-down; depth-only passes that never\n  call setViewport need Vulkan-native viewport).\n- Deferred BindGroup destroy in RenderPassVulkan::finish (CB references\n  descriptor sets until frame fence signals).\n- ORE Vulkan loadOp::load initialLayout fix (was SRO, now\n  COLOR_ATTACHMENT_OPTIMAL).\n\nPath A Y-flip via shader:\n- naga_ffi ADJUST_COORDINATE_SPACE; positive viewport + identity frontFace\n  on Vulkan side.\n- Depth-only HLSL bake (no fragment entry) in scripting_workspace +\n  lua_gpu.cpp.\n\nD3D11 + D3D12 ORE wiring in fiddle_context.\n\nPlayer: drawInternal to skip implicit drawCanvases re-entry.\n\nPlatform Vulkan testing-window hook for builds without rive_vk_bootstrap.\n\nNX (NX64) Vulkan port.\n\nCo-authored-by: Luigi Rosso \u003cluigi-rosso@users.noreply.github.com\u003e\nCo-authored-by: Philip Chung \u003cphilterdesign@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "55427991b4dc9ac29627e35bdef7bac55d5cab89",
      "old_mode": 33188,
      "old_path": ".rive_head",
      "new_id": "abdc918d923cfc852fd150a06b535defc1a99f61",
      "new_mode": 33188,
      "new_path": ".rive_head"
    },
    {
      "type": "modify",
      "old_id": "d66366468afa4a6165958ed0cd81e301aaf94ba8",
      "old_mode": 33188,
      "old_path": "include/rive/lua/rive_lua_libs.hpp",
      "new_id": "4c79a4de74fba7fca38c37ebf547b9721b40e9e7",
      "new_mode": 33188,
      "new_path": "include/rive/lua/rive_lua_libs.hpp"
    },
    {
      "type": "modify",
      "old_id": "f308e6d0a868ff2bc61a4d1dfec2e6113624b58c",
      "old_mode": 33188,
      "old_path": "include/rive/shapes/image.hpp",
      "new_id": "40c94a0dabc96651562d88f6c39a0e2dd51ea2e8",
      "new_mode": 33188,
      "new_path": "include/rive/shapes/image.hpp"
    },
    {
      "type": "modify",
      "old_id": "6daa53125fa32c81083ee0331429d653d91fed89",
      "old_mode": 33188,
      "old_path": "premake5_v2.lua",
      "new_id": "d289f03fa78fe8adf8729ac20de1ad014aa8e5a1",
      "new_mode": 33188,
      "new_path": "premake5_v2.lua"
    },
    {
      "type": "modify",
      "old_id": "dfd44813aaf4b59568c6b4e655fbeb5c640fa5a0",
      "old_mode": 33188,
      "old_path": "renderer/include/rive/renderer/ore/ore_context.hpp",
      "new_id": "fd0147f2556726aefb4d65db9ec2240100c595f6",
      "new_mode": 33188,
      "new_path": "renderer/include/rive/renderer/ore/ore_context.hpp"
    },
    {
      "type": "modify",
      "old_id": "dc5559edc04ddb3bfec2801abc34ec481e4de302",
      "old_mode": 33188,
      "old_path": "renderer/include/rive/renderer/ore/ore_context_d3d11.hpp",
      "new_id": "2ea943dcc562138962978029c00407542d0445e6",
      "new_mode": 33188,
      "new_path": "renderer/include/rive/renderer/ore/ore_context_d3d11.hpp"
    },
    {
      "type": "modify",
      "old_id": "01f7b98f09ab26706b0c7d0e742e17df9ee3b0c0",
      "old_mode": 33188,
      "old_path": "renderer/include/rive/renderer/ore/ore_context_d3d12.hpp",
      "new_id": "cdca89126c2e995bcf913c48beb3038877438a24",
      "new_mode": 33188,
      "new_path": "renderer/include/rive/renderer/ore/ore_context_d3d12.hpp"
    },
    {
      "type": "modify",
      "old_id": "da92146414bd236c8d7d05f6fb68a163cf8d4488",
      "old_mode": 33188,
      "old_path": "renderer/include/rive/renderer/ore/ore_context_gl.hpp",
      "new_id": "985074f8f309cad355629468368eaa52d64eb6a5",
      "new_mode": 33188,
      "new_path": "renderer/include/rive/renderer/ore/ore_context_gl.hpp"
    },
    {
      "type": "modify",
      "old_id": "9f246a4958464f18821556015376c4800b96c825",
      "old_mode": 33188,
      "old_path": "renderer/include/rive/renderer/ore/ore_context_metal.hpp",
      "new_id": "90f07091cd8502a08dfb0320812ab5914437b1ba",
      "new_mode": 33188,
      "new_path": "renderer/include/rive/renderer/ore/ore_context_metal.hpp"
    },
    {
      "type": "modify",
      "old_id": "a78abbbcd5fe3b521e150fa7e98c72a409acf153",
      "old_mode": 33188,
      "old_path": "renderer/include/rive/renderer/ore/ore_context_vulkan.hpp",
      "new_id": "ffdd686335736508959ebe6701993a2859841c82",
      "new_mode": 33188,
      "new_path": "renderer/include/rive/renderer/ore/ore_context_vulkan.hpp"
    },
    {
      "type": "modify",
      "old_id": "6a583842174e61291e9f35b0d89dbc514b8193a0",
      "old_mode": 33188,
      "old_path": "renderer/include/rive/renderer/ore/ore_context_wgpu.hpp",
      "new_id": "73868bb44065ec58f04a2dbc4276abc635f56a67",
      "new_mode": 33188,
      "new_path": "renderer/include/rive/renderer/ore/ore_context_wgpu.hpp"
    },
    {
      "type": "modify",
      "old_id": "16723edf45f53f692e656660abf05cb9b5a1fd5c",
      "old_mode": 33188,
      "old_path": "renderer/include/rive/renderer/ore/ore_render_pass.hpp",
      "new_id": "8ee904f68293cda1c8762fc73956f9b742ea75d9",
      "new_mode": 33188,
      "new_path": "renderer/include/rive/renderer/ore/ore_render_pass.hpp"
    },
    {
      "type": "modify",
      "old_id": "a589b9ffd80114c7e05bd3ac495e09587b9ef15a",
      "old_mode": 33188,
      "old_path": "renderer/path_fiddle/fiddle_context.hpp",
      "new_id": "6e83a1f88094bd836072ce6cc8ea71a1d0cf6d03",
      "new_mode": 33188,
      "new_path": "renderer/path_fiddle/fiddle_context.hpp"
    },
    {
      "type": "modify",
      "old_id": "7807aa017ee3d0f9291f5097cbc8014f8ae7342f",
      "old_mode": 33188,
      "old_path": "renderer/premake5_pls_renderer.lua",
      "new_id": "43c73dc327083a2a9e4e6e82ee18271348fcc32f",
      "new_mode": 33188,
      "new_path": "renderer/premake5_pls_renderer.lua"
    },
    {
      "type": "modify",
      "old_id": "7404e60fb403e86a338cdec69c50dcf134812372",
      "old_mode": 33188,
      "old_path": "renderer/src/ore/vulkan/ore_context_vulkan.cpp",
      "new_id": "952efb72069a74e5ee244aeb38653a1327c12072",
      "new_mode": 33188,
      "new_path": "renderer/src/ore/vulkan/ore_context_vulkan.cpp"
    },
    {
      "type": "modify",
      "old_id": "4fa7fd90106c8bcc61312a42f60e61182f1c6886",
      "old_mode": 33188,
      "old_path": "renderer/src/ore/vulkan/ore_pipeline_vulkan.cpp",
      "new_id": "c5e90bb597fd81a9b6dc013b538d07d58647b203",
      "new_mode": 33188,
      "new_path": "renderer/src/ore/vulkan/ore_pipeline_vulkan.cpp"
    },
    {
      "type": "modify",
      "old_id": "93667efb953e9a0be7d7e23eb48b6f4136602cad",
      "old_mode": 33188,
      "old_path": "renderer/src/ore/vulkan/ore_pipeline_vulkan.hpp",
      "new_id": "49fc6e7247458d252c0df71e5dec438b28cfcd0a",
      "new_mode": 33188,
      "new_path": "renderer/src/ore/vulkan/ore_pipeline_vulkan.hpp"
    },
    {
      "type": "modify",
      "old_id": "b2ba11c9345d35ba4336129e4d674b388048a328",
      "old_mode": 33188,
      "old_path": "renderer/src/ore/vulkan/ore_render_pass_vulkan.cpp",
      "new_id": "fdc67917d22fd38b2d450fe796eec61d0c723733",
      "new_mode": 33188,
      "new_path": "renderer/src/ore/vulkan/ore_render_pass_vulkan.cpp"
    },
    {
      "type": "modify",
      "old_id": "ebbbc47521e38f728f811f39ccf89e32068f9f55",
      "old_mode": 33188,
      "old_path": "renderer/src/ore/vulkan/ore_render_pass_vulkan.hpp",
      "new_id": "6fea5d4f17cd3504939ce50aabbfb8492e8bc54e",
      "new_mode": 33188,
      "new_path": "renderer/src/ore/vulkan/ore_render_pass_vulkan.hpp"
    },
    {
      "type": "modify",
      "old_id": "7ee870ae755d4890470aeaf9b3081c83be2b7f33",
      "old_mode": 33188,
      "old_path": "renderer/src/ore/vulkan/ore_texture_vulkan.cpp",
      "new_id": "b56d66705c37c13e786cd67de512d9ec4df9e12c",
      "new_mode": 33188,
      "new_path": "renderer/src/ore/vulkan/ore_texture_vulkan.cpp"
    },
    {
      "type": "modify",
      "old_id": "afc2de7d4b5c520ed111fdabb24a8c29bfc704d9",
      "old_mode": 33261,
      "old_path": "scripting/premake5.lua",
      "new_id": "45ad6f27fb32ef396ffdc3e9e3c77c20b2093149",
      "new_mode": 33261,
      "new_path": "scripting/premake5.lua"
    },
    {
      "type": "modify",
      "old_id": "6af23921bc6c21b3abada1185d5d522a42edc712",
      "old_mode": 33188,
      "old_path": "src/lua/renderer/lua_gpu.cpp",
      "new_id": "b24b801c3031506bac8852a4b57647e68fb034a8",
      "new_mode": 33188,
      "new_path": "src/lua/renderer/lua_gpu.cpp"
    },
    {
      "type": "modify",
      "old_id": "7c9ac12a9a64a78b442cd11518ef7b716632b641",
      "old_mode": 33188,
      "old_path": "src/lua/rive_lua_libs.cpp",
      "new_id": "3469f4bd370afc93da685ff8cc1b21b46c57c871",
      "new_mode": 33188,
      "new_path": "src/lua/rive_lua_libs.cpp"
    },
    {
      "type": "modify",
      "old_id": "6e53c78399e6868036800d79e48ae638a50fdf5d",
      "old_mode": 33188,
      "old_path": "src/shapes/image.cpp",
      "new_id": "d4271a7e896c8e735717cbc532d9c1db4fe27f9f",
      "new_mode": 33188,
      "new_path": "src/shapes/image.cpp"
    },
    {
      "type": "modify",
      "old_id": "c66c812c0233fe9fd5c7acbf9a2753fee4454b52",
      "old_mode": 33188,
      "old_path": "tests/common/testing_window.cpp",
      "new_id": "0a140b370f1b28850a4c9eb49965bff6762d1201",
      "new_mode": 33188,
      "new_path": "tests/common/testing_window.cpp"
    },
    {
      "type": "modify",
      "old_id": "1d7b9a21bb9f62281e7f98e64b0d23d385f93888",
      "old_mode": 33188,
      "old_path": "tests/common/testing_window.hpp",
      "new_id": "8decefc7afafe7d0484a528ede48eeae5583a714",
      "new_mode": 33188,
      "new_path": "tests/common/testing_window.hpp"
    },
    {
      "type": "modify",
      "old_id": "7ad161a706fbc02b73fd85f9a366e9f4af6ed8fc",
      "old_mode": 33188,
      "old_path": "tests/common/testing_window_fiddle_context.cpp",
      "new_id": "8e980409c7e17a1a3d1027ef0e54ba785575cead",
      "new_mode": 33188,
      "new_path": "tests/common/testing_window_fiddle_context.cpp"
    },
    {
      "type": "modify",
      "old_id": "bc5fdb7ad51beebc9bda9e3785cde56f01b066c5",
      "old_mode": 33188,
      "old_path": "tests/common/testing_window_vulkan_texture.cpp",
      "new_id": "82f6784f75e15a0572bb704c1492bb66e5da6680",
      "new_mode": 33188,
      "new_path": "tests/common/testing_window_vulkan_texture.cpp"
    },
    {
      "type": "modify",
      "old_id": "1fe976c7263f6248e1c293ce3e548bbff1d245cd",
      "old_mode": 33188,
      "old_path": "tests/gm/ore_gm_shaders.rstb.hpp",
      "new_id": "c5d9dfb06e72ddbe6de077e9424cee183ec948ad",
      "new_mode": 33188,
      "new_path": "tests/gm/ore_gm_shaders.rstb.hpp"
    },
    {
      "type": "modify",
      "old_id": "e118677fbde76c548ab4af1c3e8378bf5597aa85",
      "old_mode": 33188,
      "old_path": "tests/player/player.cpp",
      "new_id": "6b8b437814d7c176bb09a705401eed695c6bc5b3",
      "new_mode": 33188,
      "new_path": "tests/player/player.cpp"
    },
    {
      "type": "modify",
      "old_id": "5d011360efe2a95648c3e86c412e7c55ddaf1a69",
      "old_mode": 33188,
      "old_path": "tests/premake5.lua",
      "new_id": "23905ea1a4f9d70bdd541e9de43d2ff9b45be910",
      "new_mode": 33188,
      "new_path": "tests/premake5.lua"
    },
    {
      "type": "modify",
      "old_id": "08cbd3bf18d2109d91e19d5a205515d8a779f95f",
      "old_mode": 33188,
      "old_path": "tests/rive_tools_project.lua",
      "new_id": "4a44758f8ad780919e0c3f4f67dec015ba1cae6c",
      "new_mode": 33188,
      "new_path": "tests/rive_tools_project.lua"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4e0cdfeacc2a896c4aac61a8ed3c586c77ec2396",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/assets/image_fit_alignment_3.riv"
    },
    {
      "type": "modify",
      "old_id": "9506a9e7b5c5b60cd43ae9d711ec101d29a8e439",
      "old_mode": 33188,
      "old_path": "tests/unit_tests/runtime/data_binding_images_test.cpp",
      "new_id": "25fc8e4c2197e1ad4fce85c7e56b049704ff479b",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/runtime/data_binding_images_test.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4046266da33e3af015ac0d5606bbb60d20fb91e4",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/silvers/image_fit_alignment_3.sriv"
    }
  ]
}
