metal graphics pipelines????
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
gnReturnCode gnCreateRenderPassDescriptor(struct gnRenderPassDescriptor_t* renderPass, struct gnOutputDevice_t* device, struct gnRenderPassDescriptorInfo_t info) {
|
||||
renderPass->device = device;
|
||||
renderPass->info = info;
|
||||
return device->deviceFunctions->_gnCreateRenderPassDescriptor(renderPass, device, info);
|
||||
}
|
||||
|
||||
|
@@ -45,6 +45,7 @@ struct gnPlatformRenderPassDescriptor_t;
|
||||
|
||||
typedef struct gnRenderPassDescriptor_t {
|
||||
struct gnPlatformRenderPassDescriptor_t* renderPassDescriptor;
|
||||
struct gnRenderPassDescriptorInfo_t info;
|
||||
struct gnOutputDevice_t* device;
|
||||
} gnRenderPassDescriptor;
|
||||
|
||||
|
@@ -3,6 +3,7 @@
|
||||
|
||||
gnReturnCode gnCreateShaderModule(struct gnShaderModule_t* module, struct gnOutputDevice_t* device, struct gnShaderModuleInfo_t shaderModuleInfo) {
|
||||
module->device = device;
|
||||
module->info = shaderModuleInfo;
|
||||
return device->deviceFunctions->_gnCreateShaderModule(module, device, shaderModuleInfo);
|
||||
}
|
||||
|
||||
|
@@ -18,6 +18,7 @@ struct gnPlatformShaderModule_t;
|
||||
|
||||
typedef struct gnShaderModule_t {
|
||||
struct gnPlatformShaderModule_t* shaderModule;
|
||||
struct gnShaderModuleInfo_t info;
|
||||
struct gnOutputDevice_t* device;
|
||||
} gnShaderModule;
|
||||
|
||||
|
Reference in New Issue
Block a user