18 lines
503 B
C++
18 lines
503 B
C++
// =============================================
|
|
// Aster: helpers.h
|
|
// Copyright (c) 2020-2024 Anish Bhobe
|
|
// =============================================
|
|
|
|
#pragma once
|
|
|
|
#include "global.h"
|
|
|
|
#include "queue_allocation.h"
|
|
#include <EASTL/vector.h>
|
|
|
|
struct PhysicalDevice;
|
|
class PhysicalDevices;
|
|
|
|
PhysicalDevice FindSuitableDevice(const PhysicalDevices &physicalDevices);
|
|
QueueAllocation FindAppropriateQueueAllocation(const PhysicalDevice *physicalDevice);
|
|
eastl::vector<u32> ReadFile(cstr fileName); |