i965: Allow for variable-sized auxdata in the state cache.
[mesa.git] / src / mesa / drivers / dri / i965 / brw_gs_state.c
index 1af5790a676445ed17d03dccb937100602de8ccd..7d5a944bf7d38d7bb135394281dbdddc76bf849f 100644 (file)
@@ -108,8 +108,7 @@ gs_unit_create_from_key(struct brw_context *brw, struct brw_gs_unit_key *key)
    bo = brw_upload_cache(&brw->cache, BRW_GS_UNIT,
                         key, sizeof(*key),
                         &brw->gs.prog_bo, 1,
-                        &gs, sizeof(gs),
-                        NULL, NULL);
+                        &gs, sizeof(gs));
 
    if (key->prog_active) {
       /* Emit GS program relocation */