gecko-dev/gfx/webrender/res/ps_hardware_composite.fs.glsl
Kartikaya Gupta 8efac8fa7f Bug 1400216 - Update webrender to commit 68e2e7cd0e39d216bb6c35dfb353dc0700bb6948. r=jrmuizel
MozReview-Commit-ID: DYEZNrGLKnC

--HG--
extra : rebase_source : abd165da6204c83271e027bbe5a924c417d44ca1
2017-09-19 12:11:59 -04:00

9 lines
339 B
GLSL

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
void main(void) {
vec2 uv = clamp(vUv.xy, vUvBounds.xy, vUvBounds.zw);
oFragColor = texture(sCacheRGBA8, vec3(uv, vUv.z));
}