mirror of
https://github.com/utmapp/angle.git
synced 2026-12-01 14:00:09 -10:00
Metal [[raster_order_group()]] does not work for read_write textures on AMD when the render pass doesn't have a color attachment on slot 0. To work around this we attach one of the PLS textures to GL_COLOR_ATTACHMENT0, if there isn't one already. Bug: angleproject:7792 Bug: angleproject:7803 Bug: angleproject:7818 Change-Id: I7567ed28ed30c7e3ca23dc52778ed90f2fdff965 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4004529 Reviewed-by: Kyle Piddington <[email protected]> Commit-Queue: Chris Dalton <[email protected]> Reviewed-by: Kenneth Russell <[email protected]>