szeged / webrender

A GPU-based renderer for the web
https://doc.servo.org/webrender/
Mozilla Public License 2.0
45 stars 7 forks source link

[WIP] fix clear_target_rect #264

Closed zakorgy closed 5 years ago

zakorgy commented 5 years ago

Looks like our clear_target_rect implementation still has some flaws 😞 . We should have separate the color and depth clears and rects, and also set the proper layer for the of color clears. This fixes #259 (dx12 rendering issues in Gecko), but produces weird behavior with Vulkan backend, that's the reason for the WIP. Also we should test this with Metal too.

zakorgy commented 5 years ago

We can close this, becuase the dx12 issue is fixed by https://github.com/gfx-rs/gfx/pull/2696