1. 06 Jul, 2017 1 commit
  2. 05 Jul, 2017 2 commits
  3. 04 Jul, 2017 1 commit
  4. 28 Jun, 2017 4 commits
  5. 27 Jun, 2017 2 commits
  6. 24 Jun, 2017 1 commit
  7. 23 Jun, 2017 1 commit
  8. 22 Jun, 2017 2 commits
  9. 21 Jun, 2017 2 commits
  10. 15 Jun, 2017 3 commits
  11. 13 Jun, 2017 2 commits
  12. 12 Jun, 2017 5 commits
  13. 09 Jun, 2017 1 commit
  14. 08 Jun, 2017 2 commits
  15. 07 Jun, 2017 2 commits
  16. 05 Jun, 2017 4 commits
  17. 29 May, 2017 2 commits
  18. 25 May, 2017 2 commits
  19. 24 May, 2017 1 commit
    • Don't dynamically recurse when analyzing functions · 1fb04acc
      Lingfeng Yang authored
      bug: 38257724
      
      With this CL, dEQP-GLES3.functional.shaders.functions.invalid no longer results
      in a stack overflow and system crash.
      
      The fix is to explicitly loop over switch cases in the function call
      depth analysis.
      
      Later on, we probably want to change TIntermSwitch traversal to loop
      over all cases of the switch statement as well, but that requires
      a lot of changes; all traversers need to be changed to not have to loop over
      switch statements themselves, which will break expectations and
      perhaps functionality that critically depends on seeing/controlling iteration
      over switch statement cases.
      
      Not tested for regressions in dEQP-GLES2.functional.shaders.*
      
      Test: dEQP-GLES3.functional.shaders.functions.invalid.dynamic_switch_recursion_vertex:
      system crash, hang, or fail -> Pass
      
      Change-Id: I5d13a5f3296579c8818975e103f5ed6e03a47b68
      Reviewed-on: https://swiftshader-review.googlesource.com/9789Reviewed-by: 's avatarLingfeng Yang <lfy@google.com>
      Reviewed-by: 's avatarNicolas Capens <capn@google.com>
      Tested-by: 's avatarLingfeng Yang <lfy@google.com>