With my new transform feedback changes, Mac started failing the deqp test gpu_tests.webgl_conformance_integration_test.WebGLConformanceIntegrationTest.WebglConformance_deqp_functional_gles3_negativeshaderapi, on Intel and AMD. The driver reports a GL_INVALID_OPERATION error when calling glEndTransformFeedback after switching programs while transform feedback is paused.
It seems that no functionality is affected besides the error reporting, as transform feedback is still correctly ended. For that reason we probably don't need to put in a workaround. The spec doesn't specify what happens when you call glEndTransformFeedback with a different program bound, but other drivers don't consider it an error.
I will likely file a Radar with Apple and mark the test failing for now. Native repro case attached.
|
Deleted:
tf-test.cc
6.2 KB
|
Comment 1 by jdarpinian@chromium.org
, Mar 27 2018