diff options
author | Ian Romanick <[email protected]> | 2012-08-01 22:19:01 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2012-09-28 08:19:54 -0700 |
commit | 66159f94a5ce00b2e7c06766d7d1ecc1208c2f69 (patch) | |
tree | c58b99c5b92948d3a9e32eb632184e78c6fc42dc /src/mesa/main/pbo.c | |
parent | d0e142834948307ccfad6b038814618604390e2a (diff) |
mesa/tests: Sanity check the ES2 dispatch table
This test is only built when shared-glapi is used. Because of changes
elsewhere in the tree that were necessary to make shared-glapi work
correct with GLX, it's not feasible to make the test function both ways.
The list of expected functions originally came from the functions set by
api_exec_es2.c. This file no longer exists in Mesa (but api_exec_es1.c
is still generated). It was the generated file that configured the
dispatch table for ES2 contexts. This test verifies that all of the
functions set by the old api_exec_es2.c (with the recent addition of VAO
functions) are set in the dispatch table and everything else is a NOP.
When adding ES2 (or ES3) extensions that add new functions, this test
will need to be modified to expect dispatch functions for the new
extension functions.
v2: Expect VAO functions be non-NOP.
Signed-off-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/pbo.c')
0 files changed, 0 insertions, 0 deletions