We have moved away from texture arrays in webrender in favor of Texture2D. However all of webrender's code assumes texture arrays unless specified otherwise. For example if we don't specicify an explicit shader feature flag, the texture array variant of that shader is selected, etc. It would be less error prone to assume Texture2D by default. In addition, we can probably remove support for texture arrays entirely, which would be a nice simplification.
Bug 1691908 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
We have moved away from texture arrays in webrender in favor of Texture2D. However all of webrender's code assumes texture arrays unless specified otherwise. For example if we don't specify an explicit shader feature flag, the texture array variant of that shader is selected, etc. It would be less error prone to assume Texture2D by default. In addition, we can probably remove support for texture arrays entirely, which would be a nice simplification.