log: Remove vulkan target
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
This commit is contained in:
parent
fc4a856048
commit
891835c4af
8 changed files with 52 additions and 50 deletions
|
@ -1,5 +1,4 @@
|
|||
use crate::vulkan::vk_surface::VkSurface;
|
||||
use crate::vulkan::LOG_TARGET;
|
||||
use ash::vk;
|
||||
|
||||
pub struct VkPhysicalDevice {
|
||||
|
@ -12,14 +11,14 @@ pub struct VkPhysicalDevice {
|
|||
|
||||
impl VkPhysicalDevice {
|
||||
pub fn new(instance: &ash::Instance, physical_device: vk::PhysicalDevice) -> Self {
|
||||
log::debug!(target: LOG_TARGET, "New physical device");
|
||||
log::debug!("New physical device");
|
||||
let device_properties = unsafe { instance.get_physical_device_properties(physical_device) };
|
||||
log::debug!(target: LOG_TARGET, "{device_properties:#?}");
|
||||
log::debug!("{device_properties:#?}");
|
||||
let device_features = unsafe { instance.get_physical_device_features(physical_device) };
|
||||
log::debug!(target: LOG_TARGET, "{device_features:#?}");
|
||||
log::debug!("{device_features:#?}");
|
||||
let device_queue_families =
|
||||
unsafe { instance.get_physical_device_queue_family_properties(physical_device) };
|
||||
log::debug!(target: LOG_TARGET, "{device_queue_families:#?}");
|
||||
log::debug!("{device_queue_families:#?}");
|
||||
|
||||
Self {
|
||||
handle: physical_device,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue