Early Z test (=ZTOP) must be disabled before a query is started,
otherwise the GPU is dead. The order of emitted registers matters more
than you might think.
This fixes hardlocks in sauerbraten.
* the size of 0 here. */
make_empty_list(&r300->atom_list);
R300_INIT_ATOM(invariant_state, 71);
- R300_INIT_ATOM(query_start, 4);
R300_INIT_ATOM(ztop_state, 2);
+ R300_INIT_ATOM(query_start, 4);
R300_INIT_ATOM(blend_state, 8);
R300_INIT_ATOM(blend_color_state, is_r500 ? 3 : 2);
R300_INIT_ATOM(clip_state, has_tcl ? 5 + (6 * 4) : 2);