i965: perf: cleanup detection of kernel support for loadable configs
[mesa.git] / src / mesa / drivers / dri / i965 / gen4_blorp_exec.h
index fe02ab52f1fea0cb622112d76cb927652470f20f..7e5199c56ebdc839a58f140bd73f2793f4bc92f9 100644 (file)
@@ -28,7 +28,7 @@ dynamic_state_address(struct blorp_batch *batch, uint32_t offset)
    struct brw_context *brw = batch->driver_batch;
 
    return (struct blorp_address) {
-      .buffer = brw->batch.bo,
+      .buffer = brw->batch.state.bo,
       .offset = offset,
    };
 }