zink: fix primitives generated
this wasn't handling tessellation correctly since it was using the wrong query type, and rasterization discard was also a broken case, and really the whole thing is terrible but now it returns the results as expected unless you're using a hardware driver in which case everything is going to get optimized out anyway
but this is now as correct as it's currently possible to be.