From 4ff6187b84d2b08ffbd75fa2c9fcd11b9628b8a7 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 31 Oct 2017 11:49:07 -0700 Subject: [PATCH] es2api/ABI-check: Add es3.x symbols MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Currently this ABI check only checks for es2 symbols, but es3.x symbols are also exposed. Exposing these symbols is recommended by Khronos, and as such the test should accept that as ABI. see: https://lists.freedesktop.org/archives/mesa-stable/2016-June/004545.html for the discussion about exposing these symbols cc: Ian Romanick Signed-off-by: Dylan Baker Tested-by: Eric Engestrom Tested-by: Michel Dänzer --- src/mapi/es2api/ABI-check | 133 +++++++++++++++++++++++++++++++++++--- 1 file changed, 125 insertions(+), 8 deletions(-) diff --git a/src/mapi/es2api/ABI-check b/src/mapi/es2api/ABI-check index 835882c954a..179bea132e3 100755 --- a/src/mapi/es2api/ABI-check +++ b/src/mapi/es2api/ABI-check @@ -15,6 +15,7 @@ fi FUNCS=$(nm -D --defined-only $LIB | grep -o 'T gl.*' | cut -c 3- | while read func; do ( grep -q "^$func$" || echo $func ) <