mirror of
https://github.com/italicsjenga/portability.git
synced 2024-11-26 17:01:31 +11:00
Add all missing shims for the library interface
This commit is contained in:
parent
2113357d47
commit
c65a407dd5
|
@ -985,7 +985,7 @@ pub extern "C" fn vkCmdSetStencilWriteMask(
|
||||||
faceMask: VkStencilFaceFlags,
|
faceMask: VkStencilFaceFlags,
|
||||||
writeMask: u32,
|
writeMask: u32,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdSetStencilWriteMask(commandBuffer, faceMask, writeMask)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdSetStencilReference(
|
pub extern "C" fn vkCmdSetStencilReference(
|
||||||
|
@ -993,7 +993,7 @@ pub extern "C" fn vkCmdSetStencilReference(
|
||||||
faceMask: VkStencilFaceFlags,
|
faceMask: VkStencilFaceFlags,
|
||||||
reference: u32,
|
reference: u32,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdSetStencilReference(commandBuffer, faceMask, reference)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdBindDescriptorSets(
|
pub extern "C" fn vkCmdBindDescriptorSets(
|
||||||
|
@ -1078,7 +1078,7 @@ pub extern "C" fn vkCmdDrawIndirect(
|
||||||
drawCount: u32,
|
drawCount: u32,
|
||||||
stride: u32,
|
stride: u32,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdDrawIndirect(commandBuffer, buffer, offset, drawCount, stride)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdDrawIndexedIndirect(
|
pub extern "C" fn vkCmdDrawIndexedIndirect(
|
||||||
|
@ -1088,7 +1088,7 @@ pub extern "C" fn vkCmdDrawIndexedIndirect(
|
||||||
drawCount: u32,
|
drawCount: u32,
|
||||||
stride: u32,
|
stride: u32,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdDrawIndexedIndirect(commandBuffer, buffer, offset, drawCount, stride)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdDispatch(
|
pub extern "C" fn vkCmdDispatch(
|
||||||
|
@ -1097,7 +1097,7 @@ pub extern "C" fn vkCmdDispatch(
|
||||||
groupCountY: u32,
|
groupCountY: u32,
|
||||||
groupCountZ: u32,
|
groupCountZ: u32,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdDispatch(commandBuffer, groupCountX, groupCountY, groupCountZ)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdDispatchIndirect(
|
pub extern "C" fn vkCmdDispatchIndirect(
|
||||||
|
@ -1105,7 +1105,7 @@ pub extern "C" fn vkCmdDispatchIndirect(
|
||||||
buffer: VkBuffer,
|
buffer: VkBuffer,
|
||||||
offset: VkDeviceSize,
|
offset: VkDeviceSize,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdDispatchIndirect(commandBuffer, buffer, offset)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdCopyBuffer(
|
pub extern "C" fn vkCmdCopyBuffer(
|
||||||
|
@ -1115,7 +1115,7 @@ pub extern "C" fn vkCmdCopyBuffer(
|
||||||
regionCount: u32,
|
regionCount: u32,
|
||||||
pRegions: *const VkBufferCopy,
|
pRegions: *const VkBufferCopy,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdCopyImage(
|
pub extern "C" fn vkCmdCopyImage(
|
||||||
|
@ -1127,7 +1127,15 @@ pub extern "C" fn vkCmdCopyImage(
|
||||||
regionCount: u32,
|
regionCount: u32,
|
||||||
pRegions: *const VkImageCopy,
|
pRegions: *const VkImageCopy,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdCopyImage(
|
||||||
|
commandBuffer,
|
||||||
|
srcImage,
|
||||||
|
srcImageLayout,
|
||||||
|
dstImage,
|
||||||
|
dstImageLayout,
|
||||||
|
regionCount,
|
||||||
|
pRegions,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdBlitImage(
|
pub extern "C" fn vkCmdBlitImage(
|
||||||
|
@ -1140,7 +1148,16 @@ pub extern "C" fn vkCmdBlitImage(
|
||||||
pRegions: *const VkImageBlit,
|
pRegions: *const VkImageBlit,
|
||||||
filter: VkFilter,
|
filter: VkFilter,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdBlitImage(
|
||||||
|
commandBuffer,
|
||||||
|
srcImage,
|
||||||
|
srcImageLayout,
|
||||||
|
dstImage,
|
||||||
|
dstImageLayout,
|
||||||
|
regionCount,
|
||||||
|
pRegions,
|
||||||
|
filter,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdCopyBufferToImage(
|
pub extern "C" fn vkCmdCopyBufferToImage(
|
||||||
|
@ -1151,7 +1168,14 @@ pub extern "C" fn vkCmdCopyBufferToImage(
|
||||||
regionCount: u32,
|
regionCount: u32,
|
||||||
pRegions: *const VkBufferImageCopy,
|
pRegions: *const VkBufferImageCopy,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdCopyBufferToImage(
|
||||||
|
commandBuffer,
|
||||||
|
srcBuffer,
|
||||||
|
dstImage,
|
||||||
|
dstImageLayout,
|
||||||
|
regionCount,
|
||||||
|
pRegions,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdCopyImageToBuffer(
|
pub extern "C" fn vkCmdCopyImageToBuffer(
|
||||||
|
@ -1162,7 +1186,14 @@ pub extern "C" fn vkCmdCopyImageToBuffer(
|
||||||
regionCount: u32,
|
regionCount: u32,
|
||||||
pRegions: *const VkBufferImageCopy,
|
pRegions: *const VkBufferImageCopy,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdCopyImageToBuffer(
|
||||||
|
commandBuffer,
|
||||||
|
srcImage,
|
||||||
|
srcImageLayout,
|
||||||
|
dstBuffer,
|
||||||
|
regionCount,
|
||||||
|
pRegions,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdUpdateBuffer(
|
pub extern "C" fn vkCmdUpdateBuffer(
|
||||||
|
@ -1172,7 +1203,13 @@ pub extern "C" fn vkCmdUpdateBuffer(
|
||||||
dataSize: VkDeviceSize,
|
dataSize: VkDeviceSize,
|
||||||
pData: *const ::std::os::raw::c_void,
|
pData: *const ::std::os::raw::c_void,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdUpdateBuffer(
|
||||||
|
commandBuffer,
|
||||||
|
dstBuffer,
|
||||||
|
dstOffset,
|
||||||
|
dataSize,
|
||||||
|
pData,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdFillBuffer(
|
pub extern "C" fn vkCmdFillBuffer(
|
||||||
|
@ -1182,7 +1219,7 @@ pub extern "C" fn vkCmdFillBuffer(
|
||||||
size: VkDeviceSize,
|
size: VkDeviceSize,
|
||||||
data: u32,
|
data: u32,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdFillBuffer(commandBuffer, dstBuffer, dstOffset, size, data)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdClearColorImage(
|
pub extern "C" fn vkCmdClearColorImage(
|
||||||
|
@ -1193,7 +1230,14 @@ pub extern "C" fn vkCmdClearColorImage(
|
||||||
rangeCount: u32,
|
rangeCount: u32,
|
||||||
pRanges: *const VkImageSubresourceRange,
|
pRanges: *const VkImageSubresourceRange,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdClearColorImage(
|
||||||
|
commandBuffer,
|
||||||
|
image,
|
||||||
|
imageLayout,
|
||||||
|
pColor,
|
||||||
|
rangeCount,
|
||||||
|
pRanges,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdClearDepthStencilImage(
|
pub extern "C" fn vkCmdClearDepthStencilImage(
|
||||||
|
@ -1204,7 +1248,14 @@ pub extern "C" fn vkCmdClearDepthStencilImage(
|
||||||
rangeCount: u32,
|
rangeCount: u32,
|
||||||
pRanges: *const VkImageSubresourceRange,
|
pRanges: *const VkImageSubresourceRange,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdClearDepthStencilImage(
|
||||||
|
commandBuffer,
|
||||||
|
image,
|
||||||
|
imageLayout,
|
||||||
|
pDepthStencil,
|
||||||
|
rangeCount,
|
||||||
|
pRanges,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdClearAttachments(
|
pub extern "C" fn vkCmdClearAttachments(
|
||||||
|
@ -1214,7 +1265,13 @@ pub extern "C" fn vkCmdClearAttachments(
|
||||||
rectCount: u32,
|
rectCount: u32,
|
||||||
pRects: *const VkClearRect,
|
pRects: *const VkClearRect,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdClearAttachments(
|
||||||
|
commandBuffer,
|
||||||
|
attachmentCount,
|
||||||
|
pAttachments,
|
||||||
|
rectCount,
|
||||||
|
pRects,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdResolveImage(
|
pub extern "C" fn vkCmdResolveImage(
|
||||||
|
@ -1226,7 +1283,15 @@ pub extern "C" fn vkCmdResolveImage(
|
||||||
regionCount: u32,
|
regionCount: u32,
|
||||||
pRegions: *const VkImageResolve,
|
pRegions: *const VkImageResolve,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdResolveImage(
|
||||||
|
commandBuffer,
|
||||||
|
srcImage,
|
||||||
|
srcImageLayout,
|
||||||
|
dstImage,
|
||||||
|
dstImageLayout,
|
||||||
|
regionCount,
|
||||||
|
pRegions,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdSetEvent(
|
pub extern "C" fn vkCmdSetEvent(
|
||||||
|
@ -1234,7 +1299,11 @@ pub extern "C" fn vkCmdSetEvent(
|
||||||
event: VkEvent,
|
event: VkEvent,
|
||||||
stageMask: VkPipelineStageFlags,
|
stageMask: VkPipelineStageFlags,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdSetEvent(
|
||||||
|
commandBuffer,
|
||||||
|
event,
|
||||||
|
stageMask,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdResetEvent(
|
pub extern "C" fn vkCmdResetEvent(
|
||||||
|
@ -1242,7 +1311,11 @@ pub extern "C" fn vkCmdResetEvent(
|
||||||
event: VkEvent,
|
event: VkEvent,
|
||||||
stageMask: VkPipelineStageFlags,
|
stageMask: VkPipelineStageFlags,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdResetEvent(
|
||||||
|
commandBuffer,
|
||||||
|
event,
|
||||||
|
stageMask,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdWaitEvents(
|
pub extern "C" fn vkCmdWaitEvents(
|
||||||
|
@ -1258,7 +1331,19 @@ pub extern "C" fn vkCmdWaitEvents(
|
||||||
imageMemoryBarrierCount: u32,
|
imageMemoryBarrierCount: u32,
|
||||||
pImageMemoryBarriers: *const VkImageMemoryBarrier,
|
pImageMemoryBarriers: *const VkImageMemoryBarrier,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdWaitEvents(
|
||||||
|
commandBuffer,
|
||||||
|
eventCount,
|
||||||
|
pEvents,
|
||||||
|
srcStageMask,
|
||||||
|
dstStageMask,
|
||||||
|
memoryBarrierCount,
|
||||||
|
pMemoryBarriers,
|
||||||
|
bufferMemoryBarrierCount,
|
||||||
|
pBufferMemoryBarriers,
|
||||||
|
imageMemoryBarrierCount,
|
||||||
|
pImageMemoryBarriers,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdPipelineBarrier(
|
pub extern "C" fn vkCmdPipelineBarrier(
|
||||||
|
@ -1273,7 +1358,18 @@ pub extern "C" fn vkCmdPipelineBarrier(
|
||||||
imageMemoryBarrierCount: u32,
|
imageMemoryBarrierCount: u32,
|
||||||
pImageMemoryBarriers: *const VkImageMemoryBarrier,
|
pImageMemoryBarriers: *const VkImageMemoryBarrier,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdPipelineBarrier(
|
||||||
|
commandBuffer,
|
||||||
|
srcStageMask,
|
||||||
|
dstStageMask,
|
||||||
|
dependencyFlags,
|
||||||
|
memoryBarrierCount,
|
||||||
|
pMemoryBarriers,
|
||||||
|
bufferMemoryBarrierCount,
|
||||||
|
pBufferMemoryBarriers,
|
||||||
|
imageMemoryBarrierCount,
|
||||||
|
pImageMemoryBarriers,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdBeginQuery(
|
pub extern "C" fn vkCmdBeginQuery(
|
||||||
|
@ -1282,7 +1378,7 @@ pub extern "C" fn vkCmdBeginQuery(
|
||||||
query: u32,
|
query: u32,
|
||||||
flags: VkQueryControlFlags,
|
flags: VkQueryControlFlags,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdBeginQuery(commandBuffer, queryPool, query, flags)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdEndQuery(
|
pub extern "C" fn vkCmdEndQuery(
|
||||||
|
@ -1290,7 +1386,7 @@ pub extern "C" fn vkCmdEndQuery(
|
||||||
queryPool: VkQueryPool,
|
queryPool: VkQueryPool,
|
||||||
query: u32,
|
query: u32,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdEndQuery(commandBuffer, queryPool, query)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdResetQueryPool(
|
pub extern "C" fn vkCmdResetQueryPool(
|
||||||
|
@ -1299,7 +1395,7 @@ pub extern "C" fn vkCmdResetQueryPool(
|
||||||
firstQuery: u32,
|
firstQuery: u32,
|
||||||
queryCount: u32,
|
queryCount: u32,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdResetQueryPool(commandBuffer, queryPool, firstQuery, queryCount)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdWriteTimestamp(
|
pub extern "C" fn vkCmdWriteTimestamp(
|
||||||
|
@ -1308,7 +1404,7 @@ pub extern "C" fn vkCmdWriteTimestamp(
|
||||||
queryPool: VkQueryPool,
|
queryPool: VkQueryPool,
|
||||||
query: u32,
|
query: u32,
|
||||||
) {
|
) {
|
||||||
unimplemented!()
|
gfxCmdWriteTimestamp(commandBuffer, pipelineStage, queryPool, query)
|
||||||
}
|
}
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn vkCmdCopyQueryPoolResults(
|
pub extern "C" fn vkCmdCopyQueryPoolResults(
|
||||||
|
|
Loading…
Reference in a new issue