anv: Add an anv_physical_device field to anv_device
[mesa.git] / src / intel / vulkan / anv_blorp.c
index 71690eab037808456a2484cdd89ae96573904fa4..135768e8e623399dddd4289fdfed998491cbe07c 100644 (file)
@@ -94,7 +94,7 @@ void
 anv_device_init_blorp(struct anv_device *device)
 {
    blorp_init(&device->blorp, device, &device->isl_dev);
-   device->blorp.compiler = device->instance->physicalDevice.compiler;
+   device->blorp.compiler = device->physical->compiler;
    device->blorp.lookup_shader = lookup_blorp_shader;
    device->blorp.upload_shader = upload_blorp_shader;
    switch (device->info.gen) {