SaschaWillems / opengles.gpuinfo.org

Web front-end for the OpenGL ES hardware capability database
GNU Affero General Public License v3.0
5 stars 4 forks source link

Add older capabilities to newer versions? #6

Open greggman opened 10 months ago

greggman commented 10 months ago

I'd be nice to be able to see percentages for capabilities based on GLES version.

As an example, GL_MAX_VERTEX_ATTRIBS seems to be only available under 2.0 from the UI.

If I go here: https://opengles.gpuinfo.org/listcapabilities.php and want to see, for devices with at least OpenGL ES 3.1, what are their GL_MAX_VERTEX_ATTRIBS. It's not clear from the UI how to select that. I have to pick v2.0. But that shows a graph with a bunch of irrelevant statistics for devices that are running ES 3.1 (for example it shows values < 16 but ES 3.0 requires >= 16).

It appears I can manually change the URL. for example

https://opengles.gpuinfo.org/displaycapability.php?name=GL_MAX_VERTEX_ATTRIBS&esversion=2

vs

https://opengles.gpuinfo.org/displaycapability.php?name=GL_MAX_VERTEX_ATTRIBS&esversion=3

But then if I want to see the status on devices that are >= version 3.1 I just get an error

https://opengles.gpuinfo.org/displaycapability.php?name=GL_MAX_VERTEX_ATTRIBS&esversion=31

greggman commented 9 months ago

So I noticed if I use

https://opengles.gpuinfo.org/displaycapability.php?name=GL_MAX_VERTEX_ATTRIBS&esversion=3.1

Then I get these results

Screenshot 2023-10-16 at 10 42 00

But ES 3.1 requires 16 or more. The list is showing devices that have 8 or 10 max vertex attribs. Those are not ES 3.1 devices.