Update template for latest ABI breaks
continuous-integration/drone/pr Build is passing Details

pull/16/head
Caleb Cornett 2022-03-05 09:35:05 -05:00
parent 22236607f7
commit 11dd37c9e0
1 changed files with 26 additions and 29 deletions

View File

@ -37,6 +37,7 @@
static TEMPLATE_SURFACE_FORMAT_TYPE RefreshToTEMPLATE_SurfaceFormat[] = static TEMPLATE_SURFACE_FORMAT_TYPE RefreshToTEMPLATE_SurfaceFormat[] =
{ {
0, /* R8G8B8A8 */ 0, /* R8G8B8A8 */
0, /* B8G8R8A8 */
0, /* R5G6B5 */ 0, /* R5G6B5 */
0, /* A1R5G5B5 */ 0, /* A1R5G5B5 */
0, /* B4G4R4A4 */ 0, /* B4G4R4A4 */
@ -324,7 +325,7 @@ static void TEMPLATE_DispatchCompute(
static Refresh_ComputePipeline* TEMPLATE_CreateComputePipeline( static Refresh_ComputePipeline* TEMPLATE_CreateComputePipeline(
Refresh_Renderer *driverData, Refresh_Renderer *driverData,
Refresh_ComputePipelineCreateInfo *pipelineCreateInfo Refresh_ComputeShaderInfo *computeShaderInfo
) { ) {
NOT_IMPLEMENTED NOT_IMPLEMENTED
} }
@ -357,14 +358,6 @@ static Refresh_Texture* TEMPLATE_CreateTexture(
NOT_IMPLEMENTED NOT_IMPLEMENTED
} }
static Refresh_RenderTarget* TEMPLATE_CreateRenderTarget(
Refresh_Renderer *driverData,
Refresh_TextureSlice *textureSlice,
Refresh_SampleCount multisampleCount
) {
NOT_IMPLEMENTED
}
static Refresh_Buffer* TEMPLATE_CreateBuffer( static Refresh_Buffer* TEMPLATE_CreateBuffer(
Refresh_Renderer *driverData, Refresh_Renderer *driverData,
Refresh_BufferUsageFlags usageFlags, Refresh_BufferUsageFlags usageFlags,
@ -491,7 +484,6 @@ static void TEMPLATE_GetBufferData(
static void TEMPLATE_QueueDestroyTexture( static void TEMPLATE_QueueDestroyTexture(
Refresh_Renderer *driverData, Refresh_Renderer *driverData,
Refresh_CommandBuffer *commandBuffer,
Refresh_Texture *texture Refresh_Texture *texture
) { ) {
NOT_IMPLEMENTED NOT_IMPLEMENTED
@ -499,7 +491,6 @@ static void TEMPLATE_QueueDestroyTexture(
static void TEMPLATE_QueueDestroySampler( static void TEMPLATE_QueueDestroySampler(
Refresh_Renderer *driverData, Refresh_Renderer *driverData,
Refresh_CommandBuffer *commandBuffer,
Refresh_Sampler *sampler Refresh_Sampler *sampler
) { ) {
NOT_IMPLEMENTED NOT_IMPLEMENTED
@ -507,33 +498,20 @@ static void TEMPLATE_QueueDestroySampler(
static void TEMPLATE_QueueDestroyBuffer( static void TEMPLATE_QueueDestroyBuffer(
Refresh_Renderer *driverData, Refresh_Renderer *driverData,
Refresh_CommandBuffer *commandBuffer,
Refresh_Buffer *buffer Refresh_Buffer *buffer
) { ) {
NOT_IMPLEMENTED NOT_IMPLEMENTED
} }
static void TEMPLATE_QueueDestroyRenderTarget(
Refresh_Renderer *driverData,
Refresh_CommandBuffer *commandBuffer,
Refresh_RenderTarget *renderTarget
) {
NOT_IMPLEMENTED
}
static void TEMPLATE_QueueDestroyShaderModule( static void TEMPLATE_QueueDestroyShaderModule(
Refresh_Renderer *driverData, Refresh_Renderer *driverData,
Refresh_CommandBuffer *commandBuffer,
Refresh_ShaderModule *shaderModule Refresh_ShaderModule *shaderModule
) { ) {
NOT_IMPLEMENTED NOT_IMPLEMENTED
} }
static void TEMPLATE_QueueDestroyComputePipeline( static void TEMPLATE_QueueDestroyComputePipeline(
Refresh_Renderer *driverData, Refresh_Renderer *driverData,
Refresh_CommandBuffer *commandBuffer,
Refresh_ComputePipeline *computePipeline Refresh_ComputePipeline *computePipeline
) { ) {
NOT_IMPLEMENTED NOT_IMPLEMENTED
@ -541,7 +519,6 @@ static void TEMPLATE_QueueDestroyComputePipeline(
static void TEMPLATE_QueueDestroyGraphicsPipeline( static void TEMPLATE_QueueDestroyGraphicsPipeline(
Refresh_Renderer *driverData, Refresh_Renderer *driverData,
Refresh_CommandBuffer *commandBuffer,
Refresh_GraphicsPipeline *graphicsPipeline Refresh_GraphicsPipeline *graphicsPipeline
) { ) {
NOT_IMPLEMENTED NOT_IMPLEMENTED
@ -575,6 +552,22 @@ static void TEMPLATE_BindGraphicsPipeline(
NOT_IMPLEMENTED NOT_IMPLEMENTED
} }
static void TEMPLATE_SetViewport(
Refresh_Renderer *driverData,
Refresh_CommandBuffer *commandBuffer,
Refresh_Viewport *viewport
) {
NOT_IMPLEMENTED
}
static void TEMPLATE_SetScissor(
Refresh_Renderer *driverData,
Refresh_CommandBuffer *commandBuffer,
Refresh_Rect *scissor
) {
NOT_IMPLEMENTED
}
static void TEMPLATE_BindVertexBuffers( static void TEMPLATE_BindVertexBuffers(
Refresh_Renderer *driverData, Refresh_Renderer *driverData,
Refresh_CommandBuffer *commandBuffer, Refresh_CommandBuffer *commandBuffer,
@ -627,12 +620,16 @@ static Refresh_CommandBuffer* TEMPLATE_AcquireCommandBuffer(
NOT_IMPLEMENTED NOT_IMPLEMENTED
} }
static void TEMPLATE_QueuePresent( Refresh_Texture* TEMPLATE_AcquireSwapchainTexture(
Refresh_Renderer *driverData, Refresh_Renderer *driverData,
Refresh_CommandBuffer *commandBuffer, Refresh_CommandBuffer *commandBuffer,
Refresh_TextureSlice *textureSlice, void *windowHandle
Refresh_Rect *destinationRectangle, ) {
Refresh_Filter filter, NOT_IMPLEMENTED
}
Refresh_TextureFormat TEMPLATE_GetSwapchainFormat(
Refresh_Renderer *driverData,
void *windowHandle void *windowHandle
) { ) {
NOT_IMPLEMENTED NOT_IMPLEMENTED