Bug 1673939 - Remove Device::max_texture_layers. r=gfx-reviewers,jrmuizel
Bug 1673939 - Remove Device::max_texture_layers. r=gfx-reviewers,jrmuizel

Depends on D106791

Differential Revision: https://phabricator.services.mozilla.com/D106792

[ghsync] From https://hg.mozilla.org/mozilla-central/rev/dcda2e73b83b457eb2d18223451eb6f7565e8943

servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender