When there are textures in a context which (for an as-per-spec reason) must be rendered as black, we initialize face-black textures as a prefix to the next draw. When creating these textures, we naturally must change the current texture bindings, which is fine, as long as we reset them to their previous state when we're done. However, instead, we reset the 2d and cubemap textures to 0, instead of the previous values. This causes the conformance tests for copyTexImage2D and copyTexSubImage2D to fail.
Created attachment 570362 [details] [diff] [review] Fix to rebind previous GL state after initializing fake-black textures Short and sweet, but unbelievably annoying to track down. APITrace is awesome, though.
Created attachment 570372 [details] [diff] [review] Fix to rebind previous GL state after initializing fake-black textures Removed copyTexImage2D and copySubTexImage2D from list of failing tests for all platforms.
Removed [inbound] from whiteboard as per https://wiki.mozilla.org/Tree_Rules/Inbound