kinda start to fix render pass descriptors in metal
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
#include "output_device/gryphn_output_device.h"
|
||||
#include "instance/gryphn_instance.h"
|
||||
|
||||
#include "stdio.h"
|
||||
|
||||
gnReturnCode gnCreateRenderPassDescriptor(gnRenderPassDescriptorHandle* renderPass, gnOutputDeviceHandle device, gnRenderPassDescriptorInfo info) {
|
||||
*renderPass = malloc(sizeof(struct gnRenderPassDescriptor_t));
|
||||
(*renderPass)->device = device;
|
||||
(*renderPass)->info = info;
|
||||
|
||||
return device->instance->callingLayer->deviceFunctions._gnCreateRenderPassDescriptor(*renderPass, device, info);
|
||||
}
|
||||
|
||||
|
@@ -76,7 +76,6 @@ typedef struct gnRenderPassDescriptorInfo {
|
||||
#ifdef GN_REVEAL_IMPL
|
||||
struct gnRenderPassDescriptor_t {
|
||||
struct gnPlatformRenderPassDescriptor_t* renderPassDescriptor;
|
||||
gnRenderPassDescriptorInfo info;
|
||||
gnDeviceHandle device;
|
||||
};
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user