more error hunting
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
// #ifdef GN_EXT_GN_EXT_SYNCHRONIZATION
|
||||
|
||||
#include "gryphn_fence.h"
|
||||
#include "output_device/gryphn_output_device.h"
|
||||
#include "instance/gryphn_instance.h"
|
||||
@@ -25,4 +23,4 @@ void gnDestroyFence(gnFenceHandle fence) {
|
||||
fence->device->instance->callingLayer->syncFunctions._gnDestroyFence(fence);
|
||||
}
|
||||
|
||||
// #endif
|
||||
GN_ARRAY_LIST_DEFINITION(gnFence)
|
||||
|
@@ -11,10 +11,12 @@ struct gnFence_t {
|
||||
gnBool signaled;
|
||||
};
|
||||
#endif
|
||||
GN_ARRAY_LIST(gnFence);
|
||||
|
||||
gnReturnCode gnCreateFence(gnFenceHandle* fence, gnOutputDeviceHandle device);
|
||||
void gnSignalFence(gnFenceHandle fence);
|
||||
void gnWaitForFence(gnFenceHandle fence, uint64_t timeout);
|
||||
void gnResetFence(gnFenceHandle fence);
|
||||
void gnDestroyFence(gnFenceHandle fence);
|
||||
|
||||
|
||||
GN_ARRAY_LIST_HEADER(gnFence);
|
||||
|
@@ -12,5 +12,4 @@ gnReturnCode gnCreateSemaphore(gnSemaphore* semaphore, struct gnOutputDevice_t*
|
||||
void gnDestroySemaphore(struct gnSemaphore_t* semaphore) {
|
||||
semaphore->device->instance->callingLayer->syncFunctions._gnDestroySemaphore(semaphore);
|
||||
}
|
||||
|
||||
// #endif
|
||||
GN_ARRAY_LIST_DEFINITION(gnSemaphore)
|
||||
|
@@ -9,7 +9,7 @@ struct gnSemaphore_t {
|
||||
gnOutputDeviceHandle device;
|
||||
};
|
||||
#endif
|
||||
GN_ARRAY_LIST(gnSemaphore);
|
||||
|
||||
gnReturnCode gnCreateSemaphore(gnSemaphore* semaphore, struct gnOutputDevice_t* device);
|
||||
void gnDestroySemaphore(gnSemaphore semaphore);
|
||||
GN_ARRAY_LIST_HEADER(gnSemaphore);
|
||||
|
Reference in New Issue
Block a user