-
Revert "Make SH_CLAMP_INDIRECT_ARRAY_BOUNDS do proper AST transformation" · 10f15011Yuly Novikov authored
This reverts commit a474fd7d. Reason for revert: breaks GLES2ConformTest, see roll into Chromium: https://chromium-review.googlesource.com/c/chromium/src/+/2935093 Original change's description: > Make SH_CLAMP_INDIRECT_ARRAY_BOUNDS do proper AST transformation > > This translator flag adds a clamp to non-literal indices to arrays. Two > strategies were provisioned, using the clamp intrinsic or a hand-written > function. The latter is ununsed in angle, chromium, firefox and > webkit, so this change removes this option and uses the clamp intrinsic > unconditionally. > > The clamp itself was added at output generation time with special flags > set on the index node. This is changed such that a proper AST > transformation is done and no-special handling would be necessary. > > Bug: angleproject:4361 > Bug: angleproject:4889 > Change-Id: Ieccfd2c1c347563fb5282e9fa66d39304e62f2ca > Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2935041 > Reviewed-by: Jonah Ryan-Davis <jonahr@google.com> > Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> Bug: angleproject:4361 Bug: angleproject:4889 Change-Id: I911cfe0199b04dbc3d6d4265775b6c2de00a9777 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2937024 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Reviewed-by:
Yuly Novikov <ynovikov@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
10f15011
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| CL | Loading commit data... | |
| EGL | Loading commit data... | |
| GLES | Loading commit data... | |
| GLES2 | Loading commit data... | |
| GLES3 | Loading commit data... | |
| GLSLANG | Loading commit data... | |
| KHR | Loading commit data... | |
| WGL | Loading commit data... | |
| platform | Loading commit data... | |
| vulkan | Loading commit data... | |
| angle_cl.h | Loading commit data... | |
| angle_gl.h | Loading commit data... | |
| angle_windowsstore.h | Loading commit data... | |
| export.h | Loading commit data... |