Re: [Mesa-dev] ARB_occlusion_query2

2010-09-11 Thread Ian Romanick
It's the other way around. There's some ES2 hardware that can do OQ2 but not OQ. This extension was introduced for compatibility with some future ES work, but ES has gone a diiferent route. I don't expect any app will ever use this extension. Sent from my phone. On Sep 11, 2010, at 1:48 P

Re: [Mesa-dev] ARB_occlusion_query2

2010-09-11 Thread Marek Olšák
It's actually a nice optimization opportunity. Some hardware might stop rendering immediately after the first sample passes the depth test and all following draw operations can then be safely ignored, provided there are no writes to any buffer. Particularly software rasterizers might benefit from t

[Mesa-dev] ARB_occlusion_query2

2010-09-11 Thread Dave Airlie
Just noticed this on a list of things for r300 todo, seems kinda pointless but what do I know. I wonder if there is hw that can do OQ2 and can't do OQ, for which it might make sense. Dave. From 8c47bdfa2af8fab238a548a3d01aa54e04dd87b8 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sun, 12 Sep