On Sat, Apr 13, 2019 at 3:16 AM Zebediah Figura z.figura12@gmail.com wrote:
At the same time, perhaps we should either handle this in tests, or handle it in wined3d, presumably by refusing to expose feature level 10.0 (that is, assuming that the test is correct in asserting that D3D11_QUERY_PIPELINE_STATISTICS requires feature level 10.0) if ARB_pipeline_statistics_query is not available.
Adding ARB_pipeline_statistics_query to the feature level requirements is the correct thing to do. However, the downside is that such change is likely to disable D3D10+ on some OpenGL implementation which are otherwise capable to run D3D10. It is a similar issue to WineHQ bug 45975 [1]. ARB_pipeline_statistics_query was added to core only in the latest version, OpenGL 4.6.