aboutsummaryrefslogtreecommitdiff
path: root/src/core/GLES_COMPUTE/cs_shaders
AgeCommit message (Collapse)Author
2018-11-02APPBROWSER-298: Workaround Bifrost shader compiler issueJoel Liang
On Bifrost platform, we got this compile error for statement "data = unpack8_half(src_ptr[0])" Error: Compiler log: 2:532: S0001: Function call discards 'readonly' access qualifier. And we need to change it to "data = unpack8_half(uvec4(src_ptr[0]))" Change-Id: I1b4cc66f88a57cf06275a74c796e89ed6043d2e5 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/95773 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Stephen Li <stephen.li@arm.com> (cherry picked from commit b2572a8de01cddc7adeacb2eed6a7ba7b8a6cc2d) Reviewed-on: http://mpd-gerrit.cambridge.arm.com/95952 Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
2018-11-02APPBROWSER-298, APPBROWSER-306: Reimplement the common code of compute shaderJoel Liang
The new common code of compute shader is in file helpers_cs.h Rewrite the direct_convolution1x1.cs and softmax_layer.cs to use the new common code. It will also remove the dependence of the token pasting operator (##). We'll remove the "##" support after we rewrite all of the compute shader code. Change-Id: Icd8553ef6b61ad484a8507590ac8ed499bd47061 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/95455 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Reviewed-by: Frank Lei <frank.lei@arm.com> (cherry picked from commit 0a4f83570d261f839d9866b68979efe8d7a95883) Reviewed-on: http://mpd-gerrit.cambridge.arm.com/95601 Reviewed-by: Jim He <jim.he@arm.com>
2018-11-02COMPMID-631: Merge branches/gles_compute branchAnthony Barbier
Last commit: commit b25c5f68042b0c81bf611d59a1bb8535e1c42497 Author: Xinghang Zhou <xinghang.zhou@arm.com> Date: Wed Oct 25 18:48:10 2017 +0800 Synced validation's tolerances of GCSoftmax from cl side Change-Id: Ibe72054205c1c8721845d679a31af7ed0a7c5cf6 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/93283 Reviewed-by: Anthony Barbier <anthony.barbier@arm.com> Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>