Bug 1676559 - Pt 7 - Remove PrevPassAlpha use for clip masks. r=nical
commitac75b50d8b2038ec2c74778d236aca71486c91ed
authorGlenn Watson <git@intuitionlibrary.com>
Mon, 30 Nov 2020 19:52:20 +0000 (30 19:52 +0000)
committerGlenn Watson <git@intuitionlibrary.com>
Mon, 30 Nov 2020 19:52:20 +0000 (30 19:52 +0000)
tree88046d2ad37f9f5cc326e48fd0e4069aeb761ff6
parentb102bd4897c3b34eb53641b986c314974497e878
Bug 1676559 - Pt 7 - Remove PrevPassAlpha use for clip masks. r=nical

Use a specific texture sampler for clip masks. Although this is
always currently set to the PrevPassAlpha texture source, it does
all the plumbing to allow a follow up commit that explcitly
provides a texture id for clip masks per-primitive.

Differential Revision: https://phabricator.services.mozilla.com/D98128
gfx/wr/webrender/res/prim_shared.glsl
gfx/wr/webrender/src/batch.rs
gfx/wr/webrender/src/internal_types.rs
gfx/wr/webrender/src/render_target.rs
gfx/wr/webrender/src/renderer.rs
gfx/wr/webrender/src/shade.rs