commit | 550c600b99d7ee2463e5878d0a9f66ea24c1414a | [log] [tgz] |
---|---|---|
author | Zhenyao Mo <zmo@chromium.org> | Wed Feb 26 15:40:48 2014 -0800 |
committer | Zhenyao Mo <zmo@chromium.org> | Fri Mar 07 18:59:18 2014 +0000 |
tree | 797b816d4e50f9acf894793efe93eff2e8f02d73 | |
parent | 2515c5201ba79f803d6f813de006840728922476 [diff] |
Improvement on loop unrolling with loops indexing sampler arrays 1) Before this workaround is hardwired on mac, now we move it behind a compil 2) Fix the issue where "break" inside the loop isn't handled while unrolled. BUG=338474 TEST=webgl conformance test sampler-array-using-loop-index.html Change-Id: I4996a42c2dea39a8a5af772c256f8e3cb383f59a Reviewed-on: https://chromium-review.googlesource.com/188079 Reviewed-by: Zhenyao Mo <zmo@chromium.org> Tested-by: Zhenyao Mo <zmo@chromium.org> Conflicts: include/GLSLANG/ShaderLang.h src/compiler/translator/ValidateLimitations.cpp Change-Id: I546197bd7df1634ebccdd380be14c3250cd56151 Reviewed-on: https://chromium-review.googlesource.com/189061 Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Tested-by: Zhenyao Mo <zmo@chromium.org>