1fb04acc3fb3cbcbe4791b5a37930e332e8af4e3 |
|
19-May-2017 |
Lingfeng Yang <lfy@google.com> |
Don't dynamically recurse when analyzing functions 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/9789 Reviewed-by: Lingfeng Yang <lfy@google.com> Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Lingfeng Yang <lfy@google.com>
/external/swiftshader/src/OpenGL/compiler/AnalyzeCallDepth.h
|
0bac285a78df6a6d7a6b68784748b92805420ffb |
|
07-May-2016 |
Nicolas Capens <capn@google.com> |
Apply the Apache 2.0 license. Change-Id: I4a7aeefedcd2d891093520d5a10ebefadcddb5be Reviewed-on: https://swiftshader-review.googlesource.com/5320 Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/AnalyzeCallDepth.h
|
cc863da574ed5079b055574127fe5788a9a0fc33 |
|
21-Jan-2015 |
Nicolas Capens <capn@google.com> |
Remove the Radiance compiler copy and use OpenGL's instead. Bug 18591036 Change-Id: I17158acfa126490e28076052e5937d1deafd96c1 Reviewed-on: https://swiftshader-review.googlesource.com/1691 Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/OpenGL/compiler/AnalyzeCallDepth.h
|
e8321394237fa04e1a3f066d5b96025f48c36dfc |
|
03-Nov-2014 |
Nicolas Capens <capn@google.com> |
Rename the GLES2 folder to OpenGL. BUG=18218488 Change-Id: I162a3a80a8e098a2a52b02ea56d746074dfb938d Reviewed-on: https://swiftshader-review.googlesource.com/1320 Reviewed-by: Nicolas Capens <nicolascapens@google.com> Tested-by: Nicolas Capens <nicolascapens@google.com>
/external/swiftshader/src/OpenGL/compiler/AnalyzeCallDepth.h
|