mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 15:33:34 +00:00
adding CI
This commit is contained in:
@@ -102,6 +102,14 @@ PULSE_API PulseImage PulseCreateImage(PulseDevice device, const PulseImageCreate
|
||||
PulseImage image = device->PFN_CreateImage(device, create_infos);
|
||||
if(image == PULSE_NULL_HANDLE)
|
||||
return PULSE_NULL_HANDLE;
|
||||
|
||||
image->type = create_infos->type;
|
||||
image->format = create_infos->format;
|
||||
image->usage = create_infos->usage;
|
||||
image->width = create_infos->width;
|
||||
image->height = create_infos->height;
|
||||
image->layer_count_or_depth = create_infos->layer_count_or_depth;
|
||||
|
||||
PULSE_EXPAND_ARRAY_IF_NEEDED(device->allocated_images, PulseImage, device->allocated_images_size, device->allocated_images_capacity, 64);
|
||||
device->allocated_images[device->allocated_images_size] = image;
|
||||
device->allocated_images_size++;
|
||||
@@ -114,6 +122,14 @@ PULSE_API bool PulseIsImageFormatValid(PulseDevice device, PulseImageFormat form
|
||||
return device->PFN_IsImageFormatValid(device, format, type, usage);
|
||||
}
|
||||
|
||||
PULSE_API bool PulseCopyImageToBuffer(PulseCommandList cmd, const PulseImageRegion* src, const PulseBufferRegion* dst)
|
||||
{
|
||||
}
|
||||
|
||||
PULSE_API bool PulseBlitImage(PulseCommandList cmd, const PulseImageRegion* src, const PulseImageRegion* dst)
|
||||
{
|
||||
}
|
||||
|
||||
PULSE_API void PulseDestroyImage(PulseDevice device, PulseImage image)
|
||||
{
|
||||
PULSE_CHECK_HANDLE(device);
|
||||
|
||||
Reference in New Issue
Block a user