4 ms·
Flicking through the article made me wonder - would it be possible to have something like ACID tests for OpenGL?
by d33 10y ago
Flicking through the article made me wonder - would it be possible to have something like ACID tests for OpenGL?
- cmrx64 10y agohttps://people.freedesktop.org/~nh/piglit/ https://people.freedesktop.org/~nh/piglit/ is an extensive open conformance test suite for opengl. Khronos has their own (https://github.com/KhronosGroup/VK-GL-CTS https://github.com/KhronosGroup/VK-GL-CTS, used to be proprietary), but judging by the amount of bugs and piglit failures in drivers which supposedly pass it, I think it's probably not very useful.
- andromeduck 10y agoYup and Google has dEQP for android
- cmrx64 10y agodEQP seems to be included in Khronos', judging by a quick glance at the code and the READMEs.
- nhaehnle 10y agoBe aware that the open-source GL tests in vk-gl-cts still contain quite a lot of bugs from porting from the old framework that was used in proprietary test suite releases. Piglit isn't really a conformance test suite. It is a test suite, is usually extended when people add new features to Mesa, and collects regression tests over time. However, it actually started out in part as a way to modify glean tests that drivers couldn't pass because the hardware was lacking, for example, hardware didn't have enough precision in the blender... those were the days. The p in piglit stands for your choice of pragmatic or practical. I'm not sure if that's actually documented anywhere, but as the original author, I should know ;-) I'm sure piglit has bugs, but it's also well known that certain closed source drivers have less than conformant GLSL compilers, for example - so the fact that drivers passing the Khronos conformance tests fail piglit tests in itself doesn't mean anything other than shit needs investigating, and occasionally needs spec clarifications.
- cmrx64 10y agoFair enough, and good to hear from you :) piglit made my life better when I was doing mesa work.
- Animats 10y agoThere was a pixel-accurate test suite for OpenGL 1,0 from Kronos,[1] but it predates programmable shaders. It tests the geometry and texture processing. It's not free. [1] https://www.khronos.org/opengl/adopters/ https://www.khronos.org/opengl/adopters/