1. 12 Jul, 2017 1 commit
  2. 11 Jul, 2017 6 commits
    • Add entry points for EGL_ANGLE_program_cache_control. · 315ecd20
      Jamie Madill authored
      This instruments the plumbing for the extension without adding any
      functionality or exposing the extensions string.
      
      The extension text is also updated to reflect the new entry point
      design and naming. Also this corrects a few mistakes.
      
      This will be followed up by the tests (which won't run) and then
      the extension functionality in ANGLE.
      
      BUG=angleproject:1897
      
      Change-Id: I5b009e23bc27da06b067375525bd6fc574027702
    • Fix Clear validation assert for default FBOs · 59c41597
      Corentin Wallez authored
      The validation was iterating over maxDrawBuffers attachments when
      default framebuffers only have one attachment. Use the framebuffer's
      drawBufferCount instead.
      
      Also adds a regression test in the form of a WebGLComptibility test for
      glClearBuffer with the default framebuffer.
      
      BUG=angleproject:2091
      
      Change-Id: I07ee524db1fcb8a99dab4043248c0885100fd216
    • Select viewport index in the GLSL/ESSL vertex shader · c39a19aa
      Martin Radev authored
      The patch enables viewport selection for multiview rendering in the
      GLSL/ESSL vertex shader through the use of the GL_NV_viewport_array2
      extension. The AST is modified only for GLSL and ESSL to include the
      viewport selection expression after ViewID_OVR's initialization.
      
      BUG=angleproject:2062
      TEST=angle_unittests
      
      Change-Id: Iee05bb5a4b687ed53ddbdd466f1572227b1f0cde
    • Fix accepting arrays as array indices · 37d96cce
      Olli Etuaho authored
      Previously, arrays were being incorrectly accepted as array indices.
      This was because the isScalar() check only checked that the type was
      not a vector or matrix, but still returned true for scalar arrays.
      
      This patch changes the isScalar() check so that it returns false for
      arrays. This makes usage of the term "scalar" more consistent in the
      shader translator. Most of the code using isScalar() was compatible
      with this change. Code in util.cpp that used to assume that isScalar()
      doesn't care about arrayness is refactored to work with the new
      behavior.
      
      BUG=angleproject:2102
      TEST=angle_unittests
      
      Change-Id: I2a7f4c30fca7917d1099d0400efe3de859338b2a
    • Remove TIntermediate::addConstantUnion · 56229f1b
      Olli Etuaho authored
      This includes asserts in TConstantUnion to reveal incorrect usage of
      union - reading a different field of an union that has last been set
      is undefined behavior in C++.
      
      Existing issues with accessing incorrect fields of constant unions
      are fixed.
      
      BUG=angleproject:1490
      TEST=angle_unittests
      
      Change-Id: Idd6b7a871d73e2928f117a9348c92043612fab82
  3. 10 Jul, 2017 3 commits
  4. 09 Jul, 2017 1 commit
  5. 07 Jul, 2017 5 commits
  6. 06 Jul, 2017 7 commits
  7. 05 Jul, 2017 12 commits
  8. 04 Jul, 2017 3 commits
  9. 03 Jul, 2017 2 commits