housekeeping
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
#include "metal_submit.h"
|
#include "metal_submit.h"
|
||||||
#include "synchronization/fence/gryphn_fence.h"
|
#include "synchronization/fence/gryphn_fence.h"
|
||||||
|
|
||||||
#include "stdio.h"
|
|
||||||
|
|
||||||
gnReturnCode metalSyncSubmit(gnOutputDevice device, gnSubmitSyncInfo info) {
|
gnReturnCode metalSyncSubmit(gnOutputDevice device, gnSubmitSyncInfo info) {
|
||||||
__block gnFence fenceToSignal = info.fence;
|
__block gnFence fenceToSignal = info.fence;
|
||||||
__block atomic_int buffersLeft;
|
__block atomic_int buffersLeft;
|
||||||
|
@@ -4,11 +4,6 @@
|
|||||||
#include "output_device/vulkan_output_devices.h"
|
#include "output_device/vulkan_output_devices.h"
|
||||||
#include "output_device/vulkan_physical_device.h"
|
#include "output_device/vulkan_physical_device.h"
|
||||||
|
|
||||||
VkDeviceSize min(VkDeviceSize a, VkDeviceSize b) {
|
|
||||||
if (a >= b) return a;
|
|
||||||
return b;
|
|
||||||
}
|
|
||||||
|
|
||||||
VkBufferUsageFlags vkGryphnBufferType(gnBufferType type) {
|
VkBufferUsageFlags vkGryphnBufferType(gnBufferType type) {
|
||||||
VkBufferUsageFlags usageFlags = 0;
|
VkBufferUsageFlags usageFlags = 0;
|
||||||
switch (type) {
|
switch (type) {
|
||||||
|
Reference in New Issue
Block a user