diff options
author | Brian Salomon <bsalomon@google.com> | 2016-11-16 12:06:01 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-11-16 19:31:11 +0000 |
commit | 2a51de82ceb6790f329b9f4cc85e61f34fc2d0d4 (patch) | |
tree | 90fe38a87ff97476dea77d88c1583350a8980e12 /src/sksl/sksl.include | |
parent | 50500ad470af3d82c68144fec7e55c9cdffb5d98 (diff) |
Revert "Revert "Add support for image load to SkSL""
This reverts commit cb115bdeed5898ded3fdbe572a14616cff809b7c.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4900
Change-Id: Ibcb381bae83d0cfc1a1226be90792061d401426a
Reviewed-on: https://skia-review.googlesource.com/4900
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/sksl/sksl.include')
-rw-r--r-- | src/sksl/sksl.include | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sksl/sksl.include b/src/sksl/sksl.include index 6458a1533d..83c6aed0dc 100644 --- a/src/sksl/sksl.include +++ b/src/sksl/sksl.include @@ -537,8 +537,10 @@ int atomicExchange(inout int mem, int data); uint atomicCompSwap(inout uint mem, uint compare, uint data); int atomicCompSwap(inout int mem, int compare, int data); */ -// section 8.12 Image Functions will go here if and when we add support for them - +// section 8.12 Additional Image Functions will go here if and when we add +// support for them +vec4 imageLoad(image2D image, ivec2 P); +ivec4 imageLoad(iimage2D image, ivec2 P); $genType dFdx($genType p); $genType dFdy($genType p); float interpolateAtSample(float interpolant, int sample); |