anv: Add an anv_physical_device field to anv_device
[mesa.git] / src / intel / vulkan / tests / block_pool_grow_first.c
index 42b5f5aa80848b3cc0b46e91dde668ff8673e518..dde7e87261d57d3f7782b260ab2b07122db67327 100644 (file)
 
 int main(int argc, char **argv)
 {
-   struct anv_instance instance = {
-      .physicalDevice = {
-         .use_softpin = true,
-      },
+   struct anv_physical_device physical_device = {
+      .use_softpin = true,
    };
    struct anv_device device = {
-      .instance = &instance,
+      .physical = &physical_device,
    };
    struct anv_block_pool pool;