On 12/23/2014 12:35 AM, Ian Romanick wrote:
How do I make a piglit test that calls an unsupported function?  I want
to verify that calling a function not supported by the context either
crashes or generates GL_INVALID_OPERATION.  All of the piglit_dispatch
infrastructure seems to put too much padding around things to make this
possible.

Suggestions?

One (bit painful) way would be to dlopen and dlsym the function?

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to