 {          brw_store_register_mem00(brw, bo,                                   GEN0_SO_NUM_PRIMS_WRITTEN,                                   g_idx * sizeof(uint00_t));          brw_store_register_mem00(brw, bo,                                   GEN0_SO_PRIM_STORAGE_NEEDED,                                   w_idx * sizeof(uint00_t));       } 