1. 12 Mar, 2018 2 commits
    • Update driver constants on program change. Comes with a new SamplerMetadataUpdateOnSetProgram test. · b3b177d7
      Dzmitry Malyshau authored
      This is a fix for a graphics problem we've been seeing for a while with WebRender+Angle on Nvidia/Windows. The sampler metadata doesn't get updated properly for some of the draw calls, since it's not invalidated on program change (this is what the CL is fixing). Extra entries get filled with garbage data because the constant buffer is updated with `MAP_WRITE_DISCARD`, and only those samplers are updated that the current program has. This may generally occur undetected, if not for our `textureSize` calls that appear to go the NV-specific Angle workaround path that ignores our `baseLevel = 0` and instead picks the one from the driver constants (which contains garbage), leading to either zeroes returned or even crashing the driver sometimes...
      
      BUG=angleproject:2399
      
      Change-Id: Ie2bef32184e2305c7255299933b899eb3fffb7ab
      Reviewed-on: https://chromium-review.googlesource.com/949412Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
      Commit-Queue: Geoff Lang <geofflang@chromium.org>
    • Generate code for initializing built-in variables · 391bda23
      Olli Etuaho authored
      gen_builtin_symbols.py now generates code for initializing built-in
      variable symbols as well. Some of the variable symbols are static, but
      some of them also get initialized dynamically based on values in
      ShBuiltInResources.
      
      The static symbols have get functions in a header file so they can be
      referenced from AST traversers as well without doing a lookup.
      
      BUG=angleproject:2267
      TEST=angle_unittests, angle_end2end_tests
      
      Change-Id: Ida7f3aeb06d2bce0f737f1483b1bd5833aeddd2e
      Reviewed-on: https://chromium-review.googlesource.com/911768Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
      Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
  2. 10 Mar, 2018 1 commit
  3. 09 Mar, 2018 12 commits
  4. 08 Mar, 2018 8 commits
  5. 07 Mar, 2018 12 commits
  6. 06 Mar, 2018 5 commits