)]}'
{
  "commit": "d2cb4f55e3d11c8fc0e2e32513423d76747433eb",
  "tree": "46a35d7229d32478da742b72bad62dcc0098d72e",
  "parents": [
    "830dc86845102bb7c45f45ca14251b92add5dbb9"
  ],
  "author": {
    "name": "Corentin Wallez",
    "email": "cwallez@chromium.org",
    "time": "Mon Jun 23 02:41:02 2025 -0700"
  },
  "committer": {
    "name": "Dawn LUCI CQ",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon Jun 23 02:41:02 2025 -0700"
  },
  "message": "[tint][glsl] Directly create all replacements in texture_polyfill\n\nglsl.TexturePolyfill does several things one of which is introducing\nGLSL\u0027s CombinedTextureSamplerVar for all combinations of texture+sampler\npairs statically used together in the shader (as well as for sampled\ntextures used without a sampler).\n\nThe logic used to create the CombinedTextureSamplerVar for\ntexture+sampler pairs as a pre-processing step but then would create the\nones for texture usages without samplers on demand, so that it could\nreuse one of the texture+sampler replacements as an optimization.\n\nInstead do the computation of the replacements for texture usages\nwithout samplers in a second step of the preprocess, simplifying when\nthe various pieces of logic in that transform run. This will make it\neasier to introduce support for binding_array in the transform in a\nfollow-up CL.\n\nBug: 411573957\nChange-Id: I5074d8407e3bfd2649ebe963c18650d660843051\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/247395\nCommit-Queue: Corentin Wallez \u003ccwallez@chromium.org\u003e\nReviewed-by: James Price \u003cjrprice@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7adbbaa99090814e26ed3a33c8b21ba3c1722db3",
      "old_mode": 33188,
      "old_path": "src/tint/lang/glsl/writer/raise/texture_polyfill.cc",
      "new_id": "38331cb057e6a839462063797012821f727f96b2",
      "new_mode": 33188,
      "new_path": "src/tint/lang/glsl/writer/raise/texture_polyfill.cc"
    }
  ]
}
