)]}'
{
  "commit": "3e354fd524e7f93a63c7923195a30e64e2ae505d",
  "tree": "ec8fbc63c7308bc82fce159ed47baa0f31b4d508",
  "parents": [
    "d1efb5d48cae18c4f051eb1a8bea0a59e13c9761"
  ],
  "author": {
    "name": "Stephen White",
    "email": "senorblanco@chromium.org",
    "time": "Mon Jan 10 20:46:35 2022 +0000"
  },
  "committer": {
    "name": "Tint LUCI CQ",
    "email": "tint-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon Jan 10 20:46:35 2022 +0000"
  },
  "message": "Resolver: collect unique texture/samplers pairs.\n\nGLSL does not support separate textures and samplers, so they must be\nreplaced with combined samplers. This is the first stage of that change,\nwhere we collect the unique texture/sampler pairs. Within a function,\ntexture and sampler must be either a global variable or a function\nparameter. At the entry point level, all references must resolve to global\nvariables, so by recursing the call graph we can determine all of the\nglobal pairs required.\n\nThis information will be used by an upcoming transform to modify the AST\nto be GLSL-compliant: modifying function signatures, call sites, removing\nseparate globals and adding combined globals. It will also eventually\nreplace the pair-gathering currently performed by\nInspector::GetSamplerTextureUses().\n\nBug: tint:1366\nChange-Id: I89451b195649da26e45641ea2f6955683ae9fc66\nReviewed-on: https://dawn-review.googlesource.com/c/tint/+/75960\nReviewed-by: Ben Clayton \u003cbclayton@google.com\u003e\nKokoro: Kokoro \u003cnoreply+kokoro@google.com\u003e\nCommit-Queue: Stephen White \u003csenorblanco@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7cf80f51741dcb1632a8d0ee0177d87a9b6237e2",
      "old_mode": 33188,
      "old_path": "src/resolver/resolver.cc",
      "new_id": "e018a56eed67d0a3f7660a9a56f41cb2c4ef5bff",
      "new_mode": 33188,
      "new_path": "src/resolver/resolver.cc"
    },
    {
      "type": "modify",
      "old_id": "47e9e8667159cff64cc1f8a8f7e16b396306a0f3",
      "old_mode": 33188,
      "old_path": "src/resolver/resolver_test.cc",
      "new_id": "2656abe17941e9434285d4470f7f5315162fe0b9",
      "new_mode": 33188,
      "new_path": "src/resolver/resolver_test.cc"
    },
    {
      "type": "modify",
      "old_id": "6d980c5f49c353a511cd1743bdcff4fff1c1e977",
      "old_mode": 33188,
      "old_path": "src/sem/function.h",
      "new_id": "75e3a4847ef6d01996b21f62f4df05d62c19fe3f",
      "new_mode": 33188,
      "new_path": "src/sem/function.h"
    },
    {
      "type": "modify",
      "old_id": "1f66ac7f23cd6cb5ba05c29102d48dfff5a6e1bf",
      "old_mode": 33188,
      "old_path": "src/sem/variable.h",
      "new_id": "0641183848755e8fe9abf611b2f284bb737730b6",
      "new_mode": 33188,
      "new_path": "src/sem/variable.h"
    },
    {
      "type": "modify",
      "old_id": "a7ad0a2abdeebdaca8936b1c2022c40e32104175",
      "old_mode": 33188,
      "old_path": "src/transform/transform.cc",
      "new_id": "21c4d817d2892cf9cd74327d6638e6fd852bcd24",
      "new_mode": 33188,
      "new_path": "src/transform/transform.cc"
    }
  ]
}
