Lines Matching refs:instance
37 bool instance = false; member
47 options->instance = true; in ParseOptions()
74 if (options->instance && (options->device_index != unsignedNegOne || in ParseOptions()
85 if (options->instance && options->output_file.empty()) { in ParseOptions()
90 if (!options->output_file.empty() && !options->instance && in ParseOptions()
100 bool Dump(const VkJsonInstance& instance, const Options& options) { in Dump() argument
104 instance.devices.size()) { in Dump()
106 << " requested but only " << instance.devices.size() in Dump()
110 out_device = &instance.devices[options.device_index]; in Dump()
112 for (const auto& device : instance.devices) { in Dump()
148 : VkJsonInstanceToJson(instance); in Dump()
172 VkJsonInstance instance = VkJsonGetInstance(); in main() local
173 if (options.instance || options.device_index != unsignedNegOne || in main()
175 Dump(instance, options); in main()
177 for (uint32_t i = 0, n = static_cast<uint32_t>(instance.devices.size()); i < n; i++) { in main()
179 Dump(instance, options); in main()