)]}'
{
  "commit": "89dfdadd779492d0925717f586f0066a9a8b0b43",
  "tree": "61cc5037cc95242d3505cb9090d58de45b999b80",
  "parents": [
    "e5c14141fc9b6bd82f9fc6a74dfd40bcbe989f5e"
  ],
  "author": {
    "name": "Victor Miura",
    "email": "vmiura@google.com",
    "time": "Tue Dec 01 09:36:31 2026 -0800"
  },
  "committer": {
    "name": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Dec 01 09:36:31 2026 -0800"
  },
  "message": "[glsl] Emit invariant gl_Position for invariant vertex position outputs\n\nTint\u0027s GLSL printer previously dropped the @invariant attribute when\nhandling @builtin(position) outputs in Printer::EmitIOVar, causing\ninvariant vertex outputs to lose invariance in generated GLSL (failing\ninvariance tests on strict GLES GLSL compilers such as NVIDIA).\n\nEmit `invariant gl_Position;` at global scope in Printer::EmitIOVar when\nattrs.invariant is set on the kPosition output builtin. Omit it for\nfragment kPosition inputs (gl_FragCoord), since GLSL ES 3.00+ and\nDesktop GLSL 4.20+ only allow the invariant qualifier on shader outputs.\nUpdate the two affected Tint GLSL golden files and add GlslWriterTest\ncoverage for GLSL ES 3.10, Desktop GLSL 4.60, and fragment position\ninputs.\n\nFixed: 591930048\nChange-Id: Ia40ab5bbbb85df739cca879b202141b5943020a8\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/366715\nAuto-Submit: Victor Miura \u003cvmiura@google.com\u003e\nReviewed-by: James Price \u003cjrprice@google.com\u003e\nReviewed-by: dan sinclair \u003cdsinclair@chromium.org\u003e\nCommit-Queue: James Price \u003cjrprice@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5e13ab9c2a3c2f5a5156e357a5c2c027e8ca9214",
      "old_mode": 33188,
      "old_path": "src/tint/lang/glsl/writer/printer/printer.cc",
      "new_id": "b4194c45dbe25ebca56d03ba252bac45b47964ca",
      "new_mode": 33188,
      "new_path": "src/tint/lang/glsl/writer/printer/printer.cc"
    },
    {
      "type": "modify",
      "old_id": "f12cc0132f3707aad8dc9a2f9008d079deaea4e6",
      "old_mode": 33188,
      "old_path": "src/tint/lang/glsl/writer/writer_test.cc",
      "new_id": "57d59573e4b839ff6c7a9c1100f9ae14b45d3c56",
      "new_mode": 33188,
      "new_path": "src/tint/lang/glsl/writer/writer_test.cc"
    },
    {
      "type": "modify",
      "old_id": "5d5e2d7b1e732eee8fc667dc26cc5f5de18e4de5",
      "old_mode": 33188,
      "old_path": "test/tint/types/functions/shader_io/invariant.wgsl.expected.glsl",
      "new_id": "94b1ecdf7f1b66c26b321b5076e0b92b3e9c8975",
      "new_mode": 33188,
      "new_path": "test/tint/types/functions/shader_io/invariant.wgsl.expected.glsl"
    },
    {
      "type": "modify",
      "old_id": "fb8d7ca2452195b8c9867a882c5cd9e7243c8f66",
      "old_mode": 33188,
      "old_path": "test/tint/types/functions/shader_io/invariant_struct_member.wgsl.expected.glsl",
      "new_id": "50ce686eb340adc33b8099cd1085428bb4ac1fa4",
      "new_mode": 33188,
      "new_path": "test/tint/types/functions/shader_io/invariant_struct_member.wgsl.expected.glsl"
    }
  ]
}
