I’m trying to do multiple occlusion queries using the NV_occlusion_query extension, but I can only do 1024 before it hangs.
It hangs on the EndOcclusionQuery(), after 1024 queries have been made.
Does anyone know what may be wrong?
from the spec:
Should there be a limit on how many queries can be outstanding?
RESOLVED: No. This would make the extension much more difficult to spec and use. Allowing this does not add any significant implementation burden; and even if drivers have some internal limit on the number of outstanding queries, it is not expected that applications will need to know this to achieve optimal or near-optimal performance.
so i guess it’s a bug. 1024 sounds like a hardware-limit or so…