Commit 787e3d5b by Chris Forbes

Fix eglChooseConfig behavior to match CTS expectation

When multiple instances of the same attribute are provided, CTS expects the last instance to win. Achieve this by: 1/ Reducing the attribute list in getConfigs() 2/ Adjusting the sort order's consideration of which color components are "required" to allow a later 0 or EGL_DONT_CARE to remove a component from consideration again. Affects: dEQP-EGL.functional.choose_config.* Bug: b/113679786 V2: Fix up the alignment I broke V4: Style fix Change-Id: If9375c9dc5aaadb0ee7b77ecf1e1098c82fa30ca Reviewed-on: https://swiftshader-review.googlesource.com/20448Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Tested-by: 's avatarChris Forbes <chrisforbes@google.com>
parent ad5c2952
...@@ -25,6 +25,7 @@ Google Inc. ...@@ -25,6 +25,7 @@ Google Inc.
Daniel Toyama <kenjitoyama@google.com> Daniel Toyama <kenjitoyama@google.com>
Meng-Lin Wu <marleymoo@google.com> Meng-Lin Wu <marleymoo@google.com>
Krzysztof Kosiński <krzysio@google.com> Krzysztof Kosiński <krzysio@google.com>
Chris Forbes <chrisforbes@google.com>
TransGaming Inc. TransGaming Inc.
Nicolas Capens Nicolas Capens
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment