vkr: make sure the first dispatchable handle is non-NULL

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
macos/master
Chia-I Wu 3 years ago
parent 6b4c2b1b70
commit 0f12c46073
  1. 2
      src/venus-protocol/vn_protocol_renderer.h
  2. 32
      src/venus-protocol/vn_protocol_renderer_buffer.h
  3. 8
      src/venus-protocol/vn_protocol_renderer_buffer_view.h
  4. 248
      src/venus-protocol/vn_protocol_renderer_command_buffer.h
  5. 16
      src/venus-protocol/vn_protocol_renderer_command_pool.h
  6. 12
      src/venus-protocol/vn_protocol_renderer_descriptor_pool.h
  7. 12
      src/venus-protocol/vn_protocol_renderer_descriptor_set.h
  8. 12
      src/venus-protocol/vn_protocol_renderer_descriptor_set_layout.h
  9. 8
      src/venus-protocol/vn_protocol_renderer_descriptor_update_template.h
  10. 108
      src/venus-protocol/vn_protocol_renderer_device.h
  11. 28
      src/venus-protocol/vn_protocol_renderer_device_memory.h
  12. 20
      src/venus-protocol/vn_protocol_renderer_event.h
  13. 20
      src/venus-protocol/vn_protocol_renderer_fence.h
  14. 8
      src/venus-protocol/vn_protocol_renderer_framebuffer.h
  15. 40
      src/venus-protocol/vn_protocol_renderer_image.h
  16. 8
      src/venus-protocol/vn_protocol_renderer_image_view.h
  17. 4
      src/venus-protocol/vn_protocol_renderer_instance.h
  18. 12
      src/venus-protocol/vn_protocol_renderer_pipeline.h
  19. 16
      src/venus-protocol/vn_protocol_renderer_pipeline_cache.h
  20. 8
      src/venus-protocol/vn_protocol_renderer_pipeline_layout.h
  21. 16
      src/venus-protocol/vn_protocol_renderer_query_pool.h
  22. 12
      src/venus-protocol/vn_protocol_renderer_queue.h
  23. 16
      src/venus-protocol/vn_protocol_renderer_render_pass.h
  24. 8
      src/venus-protocol/vn_protocol_renderer_sampler.h
  25. 8
      src/venus-protocol/vn_protocol_renderer_sampler_ycbcr_conversion.h
  26. 20
      src/venus-protocol/vn_protocol_renderer_semaphore.h
  27. 8
      src/venus-protocol/vn_protocol_renderer_shader_module.h
  28. 4
      src/venus-protocol/vn_protocol_renderer_transport.h

@ -1,4 +1,4 @@
/* This file is generated by venus-protocol git-752e13f6. */
/* This file is generated by venus-protocol git-742fcf25. */
/*
* Copyright 2020 Google LLC

@ -852,6 +852,10 @@ static inline void vn_dispatch_vkGetBufferMemoryRequirements(struct vn_dispatch_
}
vn_decode_vkGetBufferMemoryRequirements_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetBufferMemoryRequirements(ctx, &args);
@ -873,6 +877,10 @@ static inline void vn_dispatch_vkBindBufferMemory(struct vn_dispatch_context *ct
}
vn_decode_vkBindBufferMemory_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkBindBufferMemory(ctx, &args);
@ -903,6 +911,10 @@ static inline void vn_dispatch_vkCreateBuffer(struct vn_dispatch_context *ctx, V
}
vn_decode_vkCreateBuffer_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateBuffer(ctx, &args);
@ -933,6 +945,10 @@ static inline void vn_dispatch_vkDestroyBuffer(struct vn_dispatch_context *ctx,
}
vn_decode_vkDestroyBuffer_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkDestroyBuffer(ctx, &args);
@ -954,6 +970,10 @@ static inline void vn_dispatch_vkBindBufferMemory2(struct vn_dispatch_context *c
}
vn_decode_vkBindBufferMemory2_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkBindBufferMemory2(ctx, &args);
@ -984,6 +1004,10 @@ static inline void vn_dispatch_vkGetBufferMemoryRequirements2(struct vn_dispatch
}
vn_decode_vkGetBufferMemoryRequirements2_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetBufferMemoryRequirements2(ctx, &args);
@ -1005,6 +1029,10 @@ static inline void vn_dispatch_vkGetBufferOpaqueCaptureAddress(struct vn_dispatc
}
vn_decode_vkGetBufferOpaqueCaptureAddress_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetBufferOpaqueCaptureAddress(ctx, &args);
@ -1026,6 +1054,10 @@ static inline void vn_dispatch_vkGetBufferDeviceAddress(struct vn_dispatch_conte
}
vn_decode_vkGetBufferDeviceAddress_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetBufferDeviceAddress(ctx, &args);

@ -156,6 +156,10 @@ static inline void vn_dispatch_vkCreateBufferView(struct vn_dispatch_context *ct
}
vn_decode_vkCreateBufferView_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateBufferView(ctx, &args);
@ -186,6 +190,10 @@ static inline void vn_dispatch_vkDestroyBufferView(struct vn_dispatch_context *c
}
vn_decode_vkDestroyBufferView_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkDestroyBufferView(ctx, &args);

@ -3358,6 +3358,10 @@ static inline void vn_dispatch_vkAllocateCommandBuffers(struct vn_dispatch_conte
}
vn_decode_vkAllocateCommandBuffers_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkAllocateCommandBuffers(ctx, &args);
@ -3388,6 +3392,10 @@ static inline void vn_dispatch_vkFreeCommandBuffers(struct vn_dispatch_context *
}
vn_decode_vkFreeCommandBuffers_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkFreeCommandBuffers(ctx, &args);
@ -3409,6 +3417,10 @@ static inline void vn_dispatch_vkBeginCommandBuffer(struct vn_dispatch_context *
}
vn_decode_vkBeginCommandBuffer_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkBeginCommandBuffer(ctx, &args);
@ -3439,6 +3451,10 @@ static inline void vn_dispatch_vkEndCommandBuffer(struct vn_dispatch_context *ct
}
vn_decode_vkEndCommandBuffer_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkEndCommandBuffer(ctx, &args);
@ -3469,6 +3485,10 @@ static inline void vn_dispatch_vkResetCommandBuffer(struct vn_dispatch_context *
}
vn_decode_vkResetCommandBuffer_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkResetCommandBuffer(ctx, &args);
@ -3499,6 +3519,10 @@ static inline void vn_dispatch_vkCmdBindPipeline(struct vn_dispatch_context *ctx
}
vn_decode_vkCmdBindPipeline_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdBindPipeline(ctx, &args);
@ -3520,6 +3544,10 @@ static inline void vn_dispatch_vkCmdSetViewport(struct vn_dispatch_context *ctx,
}
vn_decode_vkCmdSetViewport_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdSetViewport(ctx, &args);
@ -3541,6 +3569,10 @@ static inline void vn_dispatch_vkCmdSetScissor(struct vn_dispatch_context *ctx,
}
vn_decode_vkCmdSetScissor_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdSetScissor(ctx, &args);
@ -3562,6 +3594,10 @@ static inline void vn_dispatch_vkCmdSetLineWidth(struct vn_dispatch_context *ctx
}
vn_decode_vkCmdSetLineWidth_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdSetLineWidth(ctx, &args);
@ -3583,6 +3619,10 @@ static inline void vn_dispatch_vkCmdSetDepthBias(struct vn_dispatch_context *ctx
}
vn_decode_vkCmdSetDepthBias_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdSetDepthBias(ctx, &args);
@ -3604,6 +3644,10 @@ static inline void vn_dispatch_vkCmdSetBlendConstants(struct vn_dispatch_context
}
vn_decode_vkCmdSetBlendConstants_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdSetBlendConstants(ctx, &args);
@ -3625,6 +3669,10 @@ static inline void vn_dispatch_vkCmdSetDepthBounds(struct vn_dispatch_context *c
}
vn_decode_vkCmdSetDepthBounds_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdSetDepthBounds(ctx, &args);
@ -3646,6 +3694,10 @@ static inline void vn_dispatch_vkCmdSetStencilCompareMask(struct vn_dispatch_con
}
vn_decode_vkCmdSetStencilCompareMask_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdSetStencilCompareMask(ctx, &args);
@ -3667,6 +3719,10 @@ static inline void vn_dispatch_vkCmdSetStencilWriteMask(struct vn_dispatch_conte
}
vn_decode_vkCmdSetStencilWriteMask_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdSetStencilWriteMask(ctx, &args);
@ -3688,6 +3744,10 @@ static inline void vn_dispatch_vkCmdSetStencilReference(struct vn_dispatch_conte
}
vn_decode_vkCmdSetStencilReference_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdSetStencilReference(ctx, &args);
@ -3709,6 +3769,10 @@ static inline void vn_dispatch_vkCmdBindDescriptorSets(struct vn_dispatch_contex
}
vn_decode_vkCmdBindDescriptorSets_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdBindDescriptorSets(ctx, &args);
@ -3730,6 +3794,10 @@ static inline void vn_dispatch_vkCmdBindIndexBuffer(struct vn_dispatch_context *
}
vn_decode_vkCmdBindIndexBuffer_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdBindIndexBuffer(ctx, &args);
@ -3751,6 +3819,10 @@ static inline void vn_dispatch_vkCmdBindVertexBuffers(struct vn_dispatch_context
}
vn_decode_vkCmdBindVertexBuffers_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdBindVertexBuffers(ctx, &args);
@ -3772,6 +3844,10 @@ static inline void vn_dispatch_vkCmdDraw(struct vn_dispatch_context *ctx, VkComm
}
vn_decode_vkCmdDraw_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdDraw(ctx, &args);
@ -3793,6 +3869,10 @@ static inline void vn_dispatch_vkCmdDrawIndexed(struct vn_dispatch_context *ctx,
}
vn_decode_vkCmdDrawIndexed_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdDrawIndexed(ctx, &args);
@ -3814,6 +3894,10 @@ static inline void vn_dispatch_vkCmdDrawIndirect(struct vn_dispatch_context *ctx
}
vn_decode_vkCmdDrawIndirect_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdDrawIndirect(ctx, &args);
@ -3835,6 +3919,10 @@ static inline void vn_dispatch_vkCmdDrawIndexedIndirect(struct vn_dispatch_conte
}
vn_decode_vkCmdDrawIndexedIndirect_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdDrawIndexedIndirect(ctx, &args);
@ -3856,6 +3944,10 @@ static inline void vn_dispatch_vkCmdDispatch(struct vn_dispatch_context *ctx, Vk
}
vn_decode_vkCmdDispatch_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdDispatch(ctx, &args);
@ -3877,6 +3969,10 @@ static inline void vn_dispatch_vkCmdDispatchIndirect(struct vn_dispatch_context
}
vn_decode_vkCmdDispatchIndirect_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdDispatchIndirect(ctx, &args);
@ -3898,6 +3994,10 @@ static inline void vn_dispatch_vkCmdCopyBuffer(struct vn_dispatch_context *ctx,
}
vn_decode_vkCmdCopyBuffer_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdCopyBuffer(ctx, &args);
@ -3919,6 +4019,10 @@ static inline void vn_dispatch_vkCmdCopyImage(struct vn_dispatch_context *ctx, V
}
vn_decode_vkCmdCopyImage_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdCopyImage(ctx, &args);
@ -3940,6 +4044,10 @@ static inline void vn_dispatch_vkCmdBlitImage(struct vn_dispatch_context *ctx, V
}
vn_decode_vkCmdBlitImage_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdBlitImage(ctx, &args);
@ -3961,6 +4069,10 @@ static inline void vn_dispatch_vkCmdCopyBufferToImage(struct vn_dispatch_context
}
vn_decode_vkCmdCopyBufferToImage_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdCopyBufferToImage(ctx, &args);
@ -3982,6 +4094,10 @@ static inline void vn_dispatch_vkCmdCopyImageToBuffer(struct vn_dispatch_context
}
vn_decode_vkCmdCopyImageToBuffer_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdCopyImageToBuffer(ctx, &args);
@ -4003,6 +4119,10 @@ static inline void vn_dispatch_vkCmdUpdateBuffer(struct vn_dispatch_context *ctx
}
vn_decode_vkCmdUpdateBuffer_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdUpdateBuffer(ctx, &args);
@ -4024,6 +4144,10 @@ static inline void vn_dispatch_vkCmdFillBuffer(struct vn_dispatch_context *ctx,
}
vn_decode_vkCmdFillBuffer_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdFillBuffer(ctx, &args);
@ -4045,6 +4169,10 @@ static inline void vn_dispatch_vkCmdClearColorImage(struct vn_dispatch_context *
}
vn_decode_vkCmdClearColorImage_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdClearColorImage(ctx, &args);
@ -4066,6 +4194,10 @@ static inline void vn_dispatch_vkCmdClearDepthStencilImage(struct vn_dispatch_co
}
vn_decode_vkCmdClearDepthStencilImage_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdClearDepthStencilImage(ctx, &args);
@ -4087,6 +4219,10 @@ static inline void vn_dispatch_vkCmdClearAttachments(struct vn_dispatch_context
}
vn_decode_vkCmdClearAttachments_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdClearAttachments(ctx, &args);
@ -4108,6 +4244,10 @@ static inline void vn_dispatch_vkCmdResolveImage(struct vn_dispatch_context *ctx
}
vn_decode_vkCmdResolveImage_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdResolveImage(ctx, &args);
@ -4129,6 +4269,10 @@ static inline void vn_dispatch_vkCmdSetEvent(struct vn_dispatch_context *ctx, Vk
}
vn_decode_vkCmdSetEvent_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdSetEvent(ctx, &args);
@ -4150,6 +4294,10 @@ static inline void vn_dispatch_vkCmdResetEvent(struct vn_dispatch_context *ctx,
}
vn_decode_vkCmdResetEvent_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdResetEvent(ctx, &args);
@ -4171,6 +4319,10 @@ static inline void vn_dispatch_vkCmdWaitEvents(struct vn_dispatch_context *ctx,
}
vn_decode_vkCmdWaitEvents_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdWaitEvents(ctx, &args);
@ -4192,6 +4344,10 @@ static inline void vn_dispatch_vkCmdPipelineBarrier(struct vn_dispatch_context *
}
vn_decode_vkCmdPipelineBarrier_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdPipelineBarrier(ctx, &args);
@ -4213,6 +4369,10 @@ static inline void vn_dispatch_vkCmdBeginQuery(struct vn_dispatch_context *ctx,
}
vn_decode_vkCmdBeginQuery_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdBeginQuery(ctx, &args);
@ -4234,6 +4394,10 @@ static inline void vn_dispatch_vkCmdEndQuery(struct vn_dispatch_context *ctx, Vk
}
vn_decode_vkCmdEndQuery_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdEndQuery(ctx, &args);
@ -4255,6 +4419,10 @@ static inline void vn_dispatch_vkCmdResetQueryPool(struct vn_dispatch_context *c
}
vn_decode_vkCmdResetQueryPool_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdResetQueryPool(ctx, &args);
@ -4276,6 +4444,10 @@ static inline void vn_dispatch_vkCmdWriteTimestamp(struct vn_dispatch_context *c
}
vn_decode_vkCmdWriteTimestamp_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdWriteTimestamp(ctx, &args);
@ -4297,6 +4469,10 @@ static inline void vn_dispatch_vkCmdCopyQueryPoolResults(struct vn_dispatch_cont
}
vn_decode_vkCmdCopyQueryPoolResults_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdCopyQueryPoolResults(ctx, &args);
@ -4318,6 +4494,10 @@ static inline void vn_dispatch_vkCmdPushConstants(struct vn_dispatch_context *ct
}
vn_decode_vkCmdPushConstants_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdPushConstants(ctx, &args);
@ -4339,6 +4519,10 @@ static inline void vn_dispatch_vkCmdBeginRenderPass(struct vn_dispatch_context *
}
vn_decode_vkCmdBeginRenderPass_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdBeginRenderPass(ctx, &args);
@ -4360,6 +4544,10 @@ static inline void vn_dispatch_vkCmdNextSubpass(struct vn_dispatch_context *ctx,
}
vn_decode_vkCmdNextSubpass_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdNextSubpass(ctx, &args);
@ -4381,6 +4569,10 @@ static inline void vn_dispatch_vkCmdEndRenderPass(struct vn_dispatch_context *ct
}
vn_decode_vkCmdEndRenderPass_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdEndRenderPass(ctx, &args);
@ -4402,6 +4594,10 @@ static inline void vn_dispatch_vkCmdExecuteCommands(struct vn_dispatch_context *
}
vn_decode_vkCmdExecuteCommands_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdExecuteCommands(ctx, &args);
@ -4423,6 +4619,10 @@ static inline void vn_dispatch_vkCmdSetDeviceMask(struct vn_dispatch_context *ct
}
vn_decode_vkCmdSetDeviceMask_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdSetDeviceMask(ctx, &args);
@ -4444,6 +4644,10 @@ static inline void vn_dispatch_vkCmdDispatchBase(struct vn_dispatch_context *ctx
}
vn_decode_vkCmdDispatchBase_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdDispatchBase(ctx, &args);
@ -4465,6 +4669,10 @@ static inline void vn_dispatch_vkCmdBeginRenderPass2(struct vn_dispatch_context
}
vn_decode_vkCmdBeginRenderPass2_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdBeginRenderPass2(ctx, &args);
@ -4486,6 +4694,10 @@ static inline void vn_dispatch_vkCmdNextSubpass2(struct vn_dispatch_context *ctx
}
vn_decode_vkCmdNextSubpass2_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdNextSubpass2(ctx, &args);
@ -4507,6 +4719,10 @@ static inline void vn_dispatch_vkCmdEndRenderPass2(struct vn_dispatch_context *c
}
vn_decode_vkCmdEndRenderPass2_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdEndRenderPass2(ctx, &args);
@ -4528,6 +4744,10 @@ static inline void vn_dispatch_vkCmdDrawIndirectCount(struct vn_dispatch_context
}
vn_decode_vkCmdDrawIndirectCount_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdDrawIndirectCount(ctx, &args);
@ -4549,6 +4769,10 @@ static inline void vn_dispatch_vkCmdDrawIndexedIndirectCount(struct vn_dispatch_
}
vn_decode_vkCmdDrawIndexedIndirectCount_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdDrawIndexedIndirectCount(ctx, &args);
@ -4570,6 +4794,10 @@ static inline void vn_dispatch_vkCmdBindTransformFeedbackBuffersEXT(struct vn_di
}
vn_decode_vkCmdBindTransformFeedbackBuffersEXT_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdBindTransformFeedbackBuffersEXT(ctx, &args);
@ -4591,6 +4819,10 @@ static inline void vn_dispatch_vkCmdBeginTransformFeedbackEXT(struct vn_dispatch
}
vn_decode_vkCmdBeginTransformFeedbackEXT_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdBeginTransformFeedbackEXT(ctx, &args);
@ -4612,6 +4844,10 @@ static inline void vn_dispatch_vkCmdEndTransformFeedbackEXT(struct vn_dispatch_c
}
vn_decode_vkCmdEndTransformFeedbackEXT_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdEndTransformFeedbackEXT(ctx, &args);
@ -4633,6 +4869,10 @@ static inline void vn_dispatch_vkCmdBeginQueryIndexedEXT(struct vn_dispatch_cont
}
vn_decode_vkCmdBeginQueryIndexedEXT_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdBeginQueryIndexedEXT(ctx, &args);
@ -4654,6 +4894,10 @@ static inline void vn_dispatch_vkCmdEndQueryIndexedEXT(struct vn_dispatch_contex
}
vn_decode_vkCmdEndQueryIndexedEXT_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdEndQueryIndexedEXT(ctx, &args);
@ -4675,6 +4919,10 @@ static inline void vn_dispatch_vkCmdDrawIndirectByteCountEXT(struct vn_dispatch_
}
vn_decode_vkCmdDrawIndirectByteCountEXT_args_temp(ctx->decoder, &args);
if (!args.commandBuffer) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCmdDrawIndirectByteCountEXT(ctx, &args);

@ -197,6 +197,10 @@ static inline void vn_dispatch_vkCreateCommandPool(struct vn_dispatch_context *c
}
vn_decode_vkCreateCommandPool_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateCommandPool(ctx, &args);
@ -227,6 +231,10 @@ static inline void vn_dispatch_vkDestroyCommandPool(struct vn_dispatch_context *
}
vn_decode_vkDestroyCommandPool_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkDestroyCommandPool(ctx, &args);
@ -248,6 +256,10 @@ static inline void vn_dispatch_vkResetCommandPool(struct vn_dispatch_context *ct
}
vn_decode_vkResetCommandPool_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkResetCommandPool(ctx, &args);
@ -278,6 +290,10 @@ static inline void vn_dispatch_vkTrimCommandPool(struct vn_dispatch_context *ctx
}
vn_decode_vkTrimCommandPool_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkTrimCommandPool(ctx, &args);

@ -206,6 +206,10 @@ static inline void vn_dispatch_vkCreateDescriptorPool(struct vn_dispatch_context
}
vn_decode_vkCreateDescriptorPool_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateDescriptorPool(ctx, &args);
@ -236,6 +240,10 @@ static inline void vn_dispatch_vkDestroyDescriptorPool(struct vn_dispatch_contex
}
vn_decode_vkDestroyDescriptorPool_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkDestroyDescriptorPool(ctx, &args);
@ -257,6 +265,10 @@ static inline void vn_dispatch_vkResetDescriptorPool(struct vn_dispatch_context
}
vn_decode_vkResetDescriptorPool_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkResetDescriptorPool(ctx, &args);

@ -535,6 +535,10 @@ static inline void vn_dispatch_vkAllocateDescriptorSets(struct vn_dispatch_conte
}
vn_decode_vkAllocateDescriptorSets_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkAllocateDescriptorSets(ctx, &args);
@ -565,6 +569,10 @@ static inline void vn_dispatch_vkFreeDescriptorSets(struct vn_dispatch_context *
}
vn_decode_vkFreeDescriptorSets_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkFreeDescriptorSets(ctx, &args);
@ -595,6 +603,10 @@ static inline void vn_dispatch_vkUpdateDescriptorSets(struct vn_dispatch_context
}
vn_decode_vkUpdateDescriptorSets_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkUpdateDescriptorSets(ctx, &args);

@ -467,6 +467,10 @@ static inline void vn_dispatch_vkCreateDescriptorSetLayout(struct vn_dispatch_co
}
vn_decode_vkCreateDescriptorSetLayout_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateDescriptorSetLayout(ctx, &args);
@ -497,6 +501,10 @@ static inline void vn_dispatch_vkDestroyDescriptorSetLayout(struct vn_dispatch_c
}
vn_decode_vkDestroyDescriptorSetLayout_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkDestroyDescriptorSetLayout(ctx, &args);
@ -518,6 +526,10 @@ static inline void vn_dispatch_vkGetDescriptorSetLayoutSupport(struct vn_dispatc
}
vn_decode_vkGetDescriptorSetLayoutSupport_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetDescriptorSetLayoutSupport(ctx, &args);

@ -198,6 +198,10 @@ static inline void vn_dispatch_vkCreateDescriptorUpdateTemplate(struct vn_dispat
}
vn_decode_vkCreateDescriptorUpdateTemplate_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateDescriptorUpdateTemplate(ctx, &args);
@ -228,6 +232,10 @@ static inline void vn_dispatch_vkDestroyDescriptorUpdateTemplate(struct vn_dispa
}
vn_decode_vkDestroyDescriptorUpdateTemplate_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkDestroyDescriptorUpdateTemplate(ctx, &args);

@ -8346,6 +8346,10 @@ static inline void vn_dispatch_vkEnumeratePhysicalDevices(struct vn_dispatch_con
}
vn_decode_vkEnumeratePhysicalDevices_args_temp(ctx->decoder, &args);
if (!args.instance) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkEnumeratePhysicalDevices(ctx, &args);
@ -8376,6 +8380,10 @@ static inline void vn_dispatch_vkGetPhysicalDeviceProperties(struct vn_dispatch_
}
vn_decode_vkGetPhysicalDeviceProperties_args_temp(ctx->decoder, &args);
if (!args.physicalDevice) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetPhysicalDeviceProperties(ctx, &args);
@ -8397,6 +8405,10 @@ static inline void vn_dispatch_vkGetPhysicalDeviceQueueFamilyProperties(struct v
}
vn_decode_vkGetPhysicalDeviceQueueFamilyProperties_args_temp(ctx->decoder, &args);
if (!args.physicalDevice) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetPhysicalDeviceQueueFamilyProperties(ctx, &args);
@ -8418,6 +8430,10 @@ static inline void vn_dispatch_vkGetPhysicalDeviceMemoryProperties(struct vn_dis
}
vn_decode_vkGetPhysicalDeviceMemoryProperties_args_temp(ctx->decoder, &args);
if (!args.physicalDevice) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetPhysicalDeviceMemoryProperties(ctx, &args);
@ -8439,6 +8455,10 @@ static inline void vn_dispatch_vkGetPhysicalDeviceFeatures(struct vn_dispatch_co
}
vn_decode_vkGetPhysicalDeviceFeatures_args_temp(ctx->decoder, &args);
if (!args.physicalDevice) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetPhysicalDeviceFeatures(ctx, &args);
@ -8460,6 +8480,10 @@ static inline void vn_dispatch_vkGetPhysicalDeviceFormatProperties(struct vn_dis
}
vn_decode_vkGetPhysicalDeviceFormatProperties_args_temp(ctx->decoder, &args);
if (!args.physicalDevice) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetPhysicalDeviceFormatProperties(ctx, &args);
@ -8481,6 +8505,10 @@ static inline void vn_dispatch_vkGetPhysicalDeviceImageFormatProperties(struct v
}
vn_decode_vkGetPhysicalDeviceImageFormatProperties_args_temp(ctx->decoder, &args);
if (!args.physicalDevice) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetPhysicalDeviceImageFormatProperties(ctx, &args);
@ -8511,6 +8539,10 @@ static inline void vn_dispatch_vkCreateDevice(struct vn_dispatch_context *ctx, V
}
vn_decode_vkCreateDevice_args_temp(ctx->decoder, &args);
if (!args.physicalDevice) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateDevice(ctx, &args);
@ -8541,6 +8573,10 @@ static inline void vn_dispatch_vkDestroyDevice(struct vn_dispatch_context *ctx,
}
vn_decode_vkDestroyDevice_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkDestroyDevice(ctx, &args);
@ -8562,6 +8598,10 @@ static inline void vn_dispatch_vkEnumerateDeviceLayerProperties(struct vn_dispat
}
vn_decode_vkEnumerateDeviceLayerProperties_args_temp(ctx->decoder, &args);
if (!args.physicalDevice) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkEnumerateDeviceLayerProperties(ctx, &args);
@ -8592,6 +8632,10 @@ static inline void vn_dispatch_vkEnumerateDeviceExtensionProperties(struct vn_di
}
vn_decode_vkEnumerateDeviceExtensionProperties_args_temp(ctx->decoder, &args);
if (!args.physicalDevice) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkEnumerateDeviceExtensionProperties(ctx, &args);
@ -8622,6 +8666,10 @@ static inline void vn_dispatch_vkGetDeviceQueue(struct vn_dispatch_context *ctx,
}
vn_decode_vkGetDeviceQueue_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetDeviceQueue(ctx, &args);
@ -8643,6 +8691,10 @@ static inline void vn_dispatch_vkDeviceWaitIdle(struct vn_dispatch_context *ctx,
}
vn_decode_vkDeviceWaitIdle_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkDeviceWaitIdle(ctx, &args);
@ -8673,6 +8725,10 @@ static inline void vn_dispatch_vkGetPhysicalDeviceSparseImageFormatProperties(st
}
vn_decode_vkGetPhysicalDeviceSparseImageFormatProperties_args_temp(ctx->decoder, &args);
if (!args.physicalDevice) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetPhysicalDeviceSparseImageFormatProperties(ctx, &args);
@ -8694,6 +8750,10 @@ static inline void vn_dispatch_vkGetPhysicalDeviceFeatures2(struct vn_dispatch_c
}
vn_decode_vkGetPhysicalDeviceFeatures2_args_temp(ctx->decoder, &args);
if (!args.physicalDevice) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetPhysicalDeviceFeatures2(ctx, &args);
@ -8715,6 +8775,10 @@ static inline void vn_dispatch_vkGetPhysicalDeviceProperties2(struct vn_dispatch
}
vn_decode_vkGetPhysicalDeviceProperties2_args_temp(ctx->decoder, &args);
if (!args.physicalDevice) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetPhysicalDeviceProperties2(ctx, &args);
@ -8736,6 +8800,10 @@ static inline void vn_dispatch_vkGetPhysicalDeviceFormatProperties2(struct vn_di
}
vn_decode_vkGetPhysicalDeviceFormatProperties2_args_temp(ctx->decoder, &args);
if (!args.physicalDevice) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetPhysicalDeviceFormatProperties2(ctx, &args);
@ -8757,6 +8825,10 @@ static inline void vn_dispatch_vkGetPhysicalDeviceImageFormatProperties2(struct
}
vn_decode_vkGetPhysicalDeviceImageFormatProperties2_args_temp(ctx->decoder, &args);
if (!args.physicalDevice) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetPhysicalDeviceImageFormatProperties2(ctx, &args);
@ -8787,6 +8859,10 @@ static inline void vn_dispatch_vkGetPhysicalDeviceQueueFamilyProperties2(struct
}
vn_decode_vkGetPhysicalDeviceQueueFamilyProperties2_args_temp(ctx->decoder, &args);
if (!args.physicalDevice) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetPhysicalDeviceQueueFamilyProperties2(ctx, &args);
@ -8808,6 +8884,10 @@ static inline void vn_dispatch_vkGetPhysicalDeviceMemoryProperties2(struct vn_di
}
vn_decode_vkGetPhysicalDeviceMemoryProperties2_args_temp(ctx->decoder, &args);
if (!args.physicalDevice) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetPhysicalDeviceMemoryProperties2(ctx, &args);
@ -8829,6 +8909,10 @@ static inline void vn_dispatch_vkGetPhysicalDeviceSparseImageFormatProperties2(s
}
vn_decode_vkGetPhysicalDeviceSparseImageFormatProperties2_args_temp(ctx->decoder, &args);
if (!args.physicalDevice) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetPhysicalDeviceSparseImageFormatProperties2(ctx, &args);
@ -8850,6 +8934,10 @@ static inline void vn_dispatch_vkGetPhysicalDeviceExternalBufferProperties(struc
}
vn_decode_vkGetPhysicalDeviceExternalBufferProperties_args_temp(ctx->decoder, &args);
if (!args.physicalDevice) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetPhysicalDeviceExternalBufferProperties(ctx, &args);
@ -8871,6 +8959,10 @@ static inline void vn_dispatch_vkGetPhysicalDeviceExternalSemaphoreProperties(st
}
vn_decode_vkGetPhysicalDeviceExternalSemaphoreProperties_args_temp(ctx->decoder, &args);
if (!args.physicalDevice) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetPhysicalDeviceExternalSemaphoreProperties(ctx, &args);
@ -8892,6 +8984,10 @@ static inline void vn_dispatch_vkGetPhysicalDeviceExternalFenceProperties(struct
}
vn_decode_vkGetPhysicalDeviceExternalFenceProperties_args_temp(ctx->decoder, &args);
if (!args.physicalDevice) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetPhysicalDeviceExternalFenceProperties(ctx, &args);
@ -8913,6 +9009,10 @@ static inline void vn_dispatch_vkEnumeratePhysicalDeviceGroups(struct vn_dispatc
}
vn_decode_vkEnumeratePhysicalDeviceGroups_args_temp(ctx->decoder, &args);
if (!args.instance) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkEnumeratePhysicalDeviceGroups(ctx, &args);
@ -8943,6 +9043,10 @@ static inline void vn_dispatch_vkGetDeviceGroupPeerMemoryFeatures(struct vn_disp
}
vn_decode_vkGetDeviceGroupPeerMemoryFeatures_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetDeviceGroupPeerMemoryFeatures(ctx, &args);
@ -8964,6 +9068,10 @@ static inline void vn_dispatch_vkGetDeviceQueue2(struct vn_dispatch_context *ctx
}
vn_decode_vkGetDeviceQueue2_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetDeviceQueue2(ctx, &args);

@ -823,6 +823,10 @@ static inline void vn_dispatch_vkAllocateMemory(struct vn_dispatch_context *ctx,
}
vn_decode_vkAllocateMemory_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkAllocateMemory(ctx, &args);
@ -853,6 +857,10 @@ static inline void vn_dispatch_vkFreeMemory(struct vn_dispatch_context *ctx, VkC
}
vn_decode_vkFreeMemory_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkFreeMemory(ctx, &args);
@ -874,6 +882,10 @@ static inline void vn_dispatch_vkUnmapMemory(struct vn_dispatch_context *ctx, Vk
}
vn_decode_vkUnmapMemory_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkUnmapMemory(ctx, &args);
@ -895,6 +907,10 @@ static inline void vn_dispatch_vkFlushMappedMemoryRanges(struct vn_dispatch_cont
}
vn_decode_vkFlushMappedMemoryRanges_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkFlushMappedMemoryRanges(ctx, &args);
@ -925,6 +941,10 @@ static inline void vn_dispatch_vkInvalidateMappedMemoryRanges(struct vn_dispatch
}
vn_decode_vkInvalidateMappedMemoryRanges_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkInvalidateMappedMemoryRanges(ctx, &args);
@ -955,6 +975,10 @@ static inline void vn_dispatch_vkGetDeviceMemoryCommitment(struct vn_dispatch_co
}
vn_decode_vkGetDeviceMemoryCommitment_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetDeviceMemoryCommitment(ctx, &args);
@ -976,6 +1000,10 @@ static inline void vn_dispatch_vkGetDeviceMemoryOpaqueCaptureAddress(struct vn_d
}
vn_decode_vkGetDeviceMemoryOpaqueCaptureAddress_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetDeviceMemoryOpaqueCaptureAddress(ctx, &args);

@ -211,6 +211,10 @@ static inline void vn_dispatch_vkCreateEvent(struct vn_dispatch_context *ctx, Vk
}
vn_decode_vkCreateEvent_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateEvent(ctx, &args);
@ -241,6 +245,10 @@ static inline void vn_dispatch_vkDestroyEvent(struct vn_dispatch_context *ctx, V
}
vn_decode_vkDestroyEvent_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkDestroyEvent(ctx, &args);
@ -262,6 +270,10 @@ static inline void vn_dispatch_vkGetEventStatus(struct vn_dispatch_context *ctx,
}
vn_decode_vkGetEventStatus_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetEventStatus(ctx, &args);
@ -292,6 +304,10 @@ static inline void vn_dispatch_vkSetEvent(struct vn_dispatch_context *ctx, VkCom
}
vn_decode_vkSetEvent_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkSetEvent(ctx, &args);
@ -322,6 +338,10 @@ static inline void vn_dispatch_vkResetEvent(struct vn_dispatch_context *ctx, VkC
}
vn_decode_vkResetEvent_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkResetEvent(ctx, &args);

@ -326,6 +326,10 @@ static inline void vn_dispatch_vkCreateFence(struct vn_dispatch_context *ctx, Vk
}
vn_decode_vkCreateFence_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateFence(ctx, &args);
@ -356,6 +360,10 @@ static inline void vn_dispatch_vkDestroyFence(struct vn_dispatch_context *ctx, V
}
vn_decode_vkDestroyFence_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkDestroyFence(ctx, &args);
@ -377,6 +385,10 @@ static inline void vn_dispatch_vkResetFences(struct vn_dispatch_context *ctx, Vk
}
vn_decode_vkResetFences_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkResetFences(ctx, &args);
@ -407,6 +419,10 @@ static inline void vn_dispatch_vkGetFenceStatus(struct vn_dispatch_context *ctx,
}
vn_decode_vkGetFenceStatus_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetFenceStatus(ctx, &args);
@ -437,6 +453,10 @@ static inline void vn_dispatch_vkWaitForFences(struct vn_dispatch_context *ctx,
}
vn_decode_vkWaitForFences_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkWaitForFences(ctx, &args);

@ -341,6 +341,10 @@ static inline void vn_dispatch_vkCreateFramebuffer(struct vn_dispatch_context *c
}
vn_decode_vkCreateFramebuffer_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateFramebuffer(ctx, &args);
@ -371,6 +375,10 @@ static inline void vn_dispatch_vkDestroyFramebuffer(struct vn_dispatch_context *
}
vn_decode_vkDestroyFramebuffer_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkDestroyFramebuffer(ctx, &args);

@ -1445,6 +1445,10 @@ static inline void vn_dispatch_vkGetImageMemoryRequirements(struct vn_dispatch_c
}
vn_decode_vkGetImageMemoryRequirements_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetImageMemoryRequirements(ctx, &args);
@ -1466,6 +1470,10 @@ static inline void vn_dispatch_vkBindImageMemory(struct vn_dispatch_context *ctx
}
vn_decode_vkBindImageMemory_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkBindImageMemory(ctx, &args);
@ -1496,6 +1504,10 @@ static inline void vn_dispatch_vkGetImageSparseMemoryRequirements(struct vn_disp
}
vn_decode_vkGetImageSparseMemoryRequirements_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetImageSparseMemoryRequirements(ctx, &args);
@ -1517,6 +1529,10 @@ static inline void vn_dispatch_vkCreateImage(struct vn_dispatch_context *ctx, Vk
}
vn_decode_vkCreateImage_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateImage(ctx, &args);
@ -1547,6 +1563,10 @@ static inline void vn_dispatch_vkDestroyImage(struct vn_dispatch_context *ctx, V
}
vn_decode_vkDestroyImage_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkDestroyImage(ctx, &args);
@ -1568,6 +1588,10 @@ static inline void vn_dispatch_vkGetImageSubresourceLayout(struct vn_dispatch_co
}
vn_decode_vkGetImageSubresourceLayout_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetImageSubresourceLayout(ctx, &args);
@ -1589,6 +1613,10 @@ static inline void vn_dispatch_vkBindImageMemory2(struct vn_dispatch_context *ct
}
vn_decode_vkBindImageMemory2_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkBindImageMemory2(ctx, &args);
@ -1619,6 +1647,10 @@ static inline void vn_dispatch_vkGetImageMemoryRequirements2(struct vn_dispatch_
}
vn_decode_vkGetImageMemoryRequirements2_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetImageMemoryRequirements2(ctx, &args);
@ -1640,6 +1672,10 @@ static inline void vn_dispatch_vkGetImageSparseMemoryRequirements2(struct vn_dis
}
vn_decode_vkGetImageSparseMemoryRequirements2_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetImageSparseMemoryRequirements2(ctx, &args);
@ -1661,6 +1697,10 @@ static inline void vn_dispatch_vkGetImageDrmFormatModifierPropertiesEXT(struct v
}
vn_decode_vkGetImageDrmFormatModifierPropertiesEXT_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetImageDrmFormatModifierPropertiesEXT(ctx, &args);

@ -248,6 +248,10 @@ static inline void vn_dispatch_vkCreateImageView(struct vn_dispatch_context *ctx
}
vn_decode_vkCreateImageView_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateImageView(ctx, &args);
@ -278,6 +282,10 @@ static inline void vn_dispatch_vkDestroyImageView(struct vn_dispatch_context *ct
}
vn_decode_vkDestroyImageView_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkDestroyImageView(ctx, &args);

@ -422,6 +422,10 @@ static inline void vn_dispatch_vkDestroyInstance(struct vn_dispatch_context *ctx
}
vn_decode_vkDestroyInstance_args_temp(ctx->decoder, &args);
if (!args.instance) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkDestroyInstance(ctx, &args);

@ -1460,6 +1460,10 @@ static inline void vn_dispatch_vkCreateGraphicsPipelines(struct vn_dispatch_cont
}
vn_decode_vkCreateGraphicsPipelines_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateGraphicsPipelines(ctx, &args);
@ -1490,6 +1494,10 @@ static inline void vn_dispatch_vkCreateComputePipelines(struct vn_dispatch_conte
}
vn_decode_vkCreateComputePipelines_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateComputePipelines(ctx, &args);
@ -1520,6 +1528,10 @@ static inline void vn_dispatch_vkDestroyPipeline(struct vn_dispatch_context *ctx
}
vn_decode_vkDestroyPipeline_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkDestroyPipeline(ctx, &args);

@ -245,6 +245,10 @@ static inline void vn_dispatch_vkCreatePipelineCache(struct vn_dispatch_context
}
vn_decode_vkCreatePipelineCache_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreatePipelineCache(ctx, &args);
@ -275,6 +279,10 @@ static inline void vn_dispatch_vkDestroyPipelineCache(struct vn_dispatch_context
}
vn_decode_vkDestroyPipelineCache_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkDestroyPipelineCache(ctx, &args);
@ -296,6 +304,10 @@ static inline void vn_dispatch_vkGetPipelineCacheData(struct vn_dispatch_context
}
vn_decode_vkGetPipelineCacheData_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetPipelineCacheData(ctx, &args);
@ -326,6 +338,10 @@ static inline void vn_dispatch_vkMergePipelineCaches(struct vn_dispatch_context
}
vn_decode_vkMergePipelineCaches_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkMergePipelineCaches(ctx, &args);

@ -198,6 +198,10 @@ static inline void vn_dispatch_vkCreatePipelineLayout(struct vn_dispatch_context
}
vn_decode_vkCreatePipelineLayout_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreatePipelineLayout(ctx, &args);
@ -228,6 +232,10 @@ static inline void vn_dispatch_vkDestroyPipelineLayout(struct vn_dispatch_contex
}
vn_decode_vkDestroyPipelineLayout_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkDestroyPipelineLayout(ctx, &args);

@ -231,6 +231,10 @@ static inline void vn_dispatch_vkCreateQueryPool(struct vn_dispatch_context *ctx
}
vn_decode_vkCreateQueryPool_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateQueryPool(ctx, &args);
@ -261,6 +265,10 @@ static inline void vn_dispatch_vkDestroyQueryPool(struct vn_dispatch_context *ct
}
vn_decode_vkDestroyQueryPool_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkDestroyQueryPool(ctx, &args);
@ -282,6 +290,10 @@ static inline void vn_dispatch_vkGetQueryPoolResults(struct vn_dispatch_context
}
vn_decode_vkGetQueryPoolResults_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetQueryPoolResults(ctx, &args);
@ -312,6 +324,10 @@ static inline void vn_dispatch_vkResetQueryPool(struct vn_dispatch_context *ctx,
}
vn_decode_vkResetQueryPool_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkResetQueryPool(ctx, &args);

@ -860,6 +860,10 @@ static inline void vn_dispatch_vkQueueSubmit(struct vn_dispatch_context *ctx, Vk
}
vn_decode_vkQueueSubmit_args_temp(ctx->decoder, &args);
if (!args.queue) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkQueueSubmit(ctx, &args);
@ -890,6 +894,10 @@ static inline void vn_dispatch_vkQueueWaitIdle(struct vn_dispatch_context *ctx,
}
vn_decode_vkQueueWaitIdle_args_temp(ctx->decoder, &args);
if (!args.queue) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkQueueWaitIdle(ctx, &args);
@ -920,6 +928,10 @@ static inline void vn_dispatch_vkQueueBindSparse(struct vn_dispatch_context *ctx
}
vn_decode_vkQueueBindSparse_args_temp(ctx->decoder, &args);
if (!args.queue) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkQueueBindSparse(ctx, &args);

@ -1333,6 +1333,10 @@ static inline void vn_dispatch_vkCreateRenderPass(struct vn_dispatch_context *ct
}
vn_decode_vkCreateRenderPass_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateRenderPass(ctx, &args);
@ -1363,6 +1367,10 @@ static inline void vn_dispatch_vkDestroyRenderPass(struct vn_dispatch_context *c
}
vn_decode_vkDestroyRenderPass_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkDestroyRenderPass(ctx, &args);
@ -1384,6 +1392,10 @@ static inline void vn_dispatch_vkGetRenderAreaGranularity(struct vn_dispatch_con
}
vn_decode_vkGetRenderAreaGranularity_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetRenderAreaGranularity(ctx, &args);
@ -1405,6 +1417,10 @@ static inline void vn_dispatch_vkCreateRenderPass2(struct vn_dispatch_context *c
}
vn_decode_vkCreateRenderPass2_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateRenderPass2(ctx, &args);

@ -268,6 +268,10 @@ static inline void vn_dispatch_vkCreateSampler(struct vn_dispatch_context *ctx,
}
vn_decode_vkCreateSampler_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateSampler(ctx, &args);
@ -298,6 +302,10 @@ static inline void vn_dispatch_vkDestroySampler(struct vn_dispatch_context *ctx,
}
vn_decode_vkDestroySampler_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkDestroySampler(ctx, &args);

@ -162,6 +162,10 @@ static inline void vn_dispatch_vkCreateSamplerYcbcrConversion(struct vn_dispatch
}
vn_decode_vkCreateSamplerYcbcrConversion_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateSamplerYcbcrConversion(ctx, &args);
@ -192,6 +196,10 @@ static inline void vn_dispatch_vkDestroySamplerYcbcrConversion(struct vn_dispatc
}
vn_decode_vkDestroySamplerYcbcrConversion_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkDestroySamplerYcbcrConversion(ctx, &args);

@ -491,6 +491,10 @@ static inline void vn_dispatch_vkCreateSemaphore(struct vn_dispatch_context *ctx
}
vn_decode_vkCreateSemaphore_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateSemaphore(ctx, &args);
@ -521,6 +525,10 @@ static inline void vn_dispatch_vkDestroySemaphore(struct vn_dispatch_context *ct
}
vn_decode_vkDestroySemaphore_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkDestroySemaphore(ctx, &args);
@ -542,6 +550,10 @@ static inline void vn_dispatch_vkGetSemaphoreCounterValue(struct vn_dispatch_con
}
vn_decode_vkGetSemaphoreCounterValue_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetSemaphoreCounterValue(ctx, &args);
@ -572,6 +584,10 @@ static inline void vn_dispatch_vkWaitSemaphores(struct vn_dispatch_context *ctx,
}
vn_decode_vkWaitSemaphores_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkWaitSemaphores(ctx, &args);
@ -602,6 +618,10 @@ static inline void vn_dispatch_vkSignalSemaphore(struct vn_dispatch_context *ctx
}
vn_decode_vkSignalSemaphore_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkSignalSemaphore(ctx, &args);

@ -160,6 +160,10 @@ static inline void vn_dispatch_vkCreateShaderModule(struct vn_dispatch_context *
}
vn_decode_vkCreateShaderModule_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateShaderModule(ctx, &args);
@ -190,6 +194,10 @@ static inline void vn_dispatch_vkDestroyShaderModule(struct vn_dispatch_context
}
vn_decode_vkDestroyShaderModule_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkDestroyShaderModule(ctx, &args);

@ -693,6 +693,10 @@ static inline void vn_dispatch_vkGetMemoryResourcePropertiesMESA(struct vn_dispa
}
vn_decode_vkGetMemoryResourcePropertiesMESA_args_temp(ctx->decoder, &args);
if (!args.device) {
vn_cs_decoder_set_fatal(ctx->decoder);
return;
}
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetMemoryResourcePropertiesMESA(ctx, &args);

Loading…
Cancel
Save