vkr: log VkResult errors on debug builds only

VkResult errors are regular runtime errors.  The logging is for debug
only.

Add vn_dispatch_should_log_result to decide whether a VkResult error
should be logged.  It will greatly reduce the diff size in the future.

Silence VK_ERROR_FRAGMENTED_POOL and VK_ERROR_OUT_OF_POOL_MEMORY.

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 ebb2cf3c76
commit 9f6329a0b0
  1. 2
      src/venus-protocol/vn_protocol_renderer.h
  2. 39
      src/venus-protocol/vn_protocol_renderer_buffer.h
  3. 13
      src/venus-protocol/vn_protocol_renderer_buffer_view.h
  4. 52
      src/venus-protocol/vn_protocol_renderer_command_buffer.h
  5. 26
      src/venus-protocol/vn_protocol_renderer_command_pool.h
  6. 14
      src/venus-protocol/vn_protocol_renderer_defines.h
  7. 26
      src/venus-protocol/vn_protocol_renderer_descriptor_pool.h
  8. 26
      src/venus-protocol/vn_protocol_renderer_descriptor_set.h
  9. 13
      src/venus-protocol/vn_protocol_renderer_descriptor_set_layout.h
  10. 13
      src/venus-protocol/vn_protocol_renderer_descriptor_update_template.h
  11. 104
      src/venus-protocol/vn_protocol_renderer_device.h
  12. 39
      src/venus-protocol/vn_protocol_renderer_device_memory.h
  13. 52
      src/venus-protocol/vn_protocol_renderer_event.h
  14. 52
      src/venus-protocol/vn_protocol_renderer_fence.h
  15. 13
      src/venus-protocol/vn_protocol_renderer_framebuffer.h
  16. 52
      src/venus-protocol/vn_protocol_renderer_image.h
  17. 13
      src/venus-protocol/vn_protocol_renderer_image_view.h
  18. 52
      src/venus-protocol/vn_protocol_renderer_instance.h
  19. 26
      src/venus-protocol/vn_protocol_renderer_pipeline.h
  20. 39
      src/venus-protocol/vn_protocol_renderer_pipeline_cache.h
  21. 13
      src/venus-protocol/vn_protocol_renderer_pipeline_layout.h
  22. 26
      src/venus-protocol/vn_protocol_renderer_query_pool.h
  23. 39
      src/venus-protocol/vn_protocol_renderer_queue.h
  24. 26
      src/venus-protocol/vn_protocol_renderer_render_pass.h
  25. 13
      src/venus-protocol/vn_protocol_renderer_sampler.h
  26. 13
      src/venus-protocol/vn_protocol_renderer_sampler_ycbcr_conversion.h
  27. 52
      src/venus-protocol/vn_protocol_renderer_semaphore.h
  28. 13
      src/venus-protocol/vn_protocol_renderer_shader_module.h
  29. 13
      src/venus-protocol/vn_protocol_renderer_transport.h

@ -1,4 +1,4 @@
/* This file is generated by venus-protocol git-b45cfda5. */
/* This file is generated by venus-protocol git-086a2445. */
/*
* Copyright 2020 Google LLC

@ -892,15 +892,10 @@ static inline void vn_dispatch_vkBindBufferMemory(struct vn_dispatch_context *ct
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkBindBufferMemory(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkBindBufferMemory returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkBindBufferMemory returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkBindBufferMemory_reply(ctx->encoder, &args);
@ -926,15 +921,10 @@ static inline void vn_dispatch_vkCreateBuffer(struct vn_dispatch_context *ctx, V
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateBuffer(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkCreateBuffer returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkCreateBuffer returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkCreateBuffer_reply(ctx->encoder, &args);
@ -985,15 +975,10 @@ static inline void vn_dispatch_vkBindBufferMemory2(struct vn_dispatch_context *c
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkBindBufferMemory2(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkBindBufferMemory2 returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkBindBufferMemory2 returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkBindBufferMemory2_reply(ctx->encoder, &args);

@ -165,15 +165,10 @@ static inline void vn_dispatch_vkCreateBufferView(struct vn_dispatch_context *ct
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateBufferView(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkCreateBufferView returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkCreateBufferView returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkCreateBufferView_reply(ctx->encoder, &args);

@ -3378,15 +3378,10 @@ static inline void vn_dispatch_vkAllocateCommandBuffers(struct vn_dispatch_conte
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkAllocateCommandBuffers(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkAllocateCommandBuffers returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkAllocateCommandBuffers returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkAllocateCommandBuffers_reply(ctx->encoder, &args);
@ -3437,15 +3432,10 @@ static inline void vn_dispatch_vkBeginCommandBuffer(struct vn_dispatch_context *
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkBeginCommandBuffer(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkBeginCommandBuffer returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkBeginCommandBuffer returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkBeginCommandBuffer_reply(ctx->encoder, &args);
@ -3471,15 +3461,10 @@ static inline void vn_dispatch_vkEndCommandBuffer(struct vn_dispatch_context *ct
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkEndCommandBuffer(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkEndCommandBuffer returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkEndCommandBuffer returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkEndCommandBuffer_reply(ctx->encoder, &args);
@ -3505,15 +3490,10 @@ static inline void vn_dispatch_vkResetCommandBuffer(struct vn_dispatch_context *
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkResetCommandBuffer(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkResetCommandBuffer returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkResetCommandBuffer returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkResetCommandBuffer_reply(ctx->encoder, &args);

@ -206,15 +206,10 @@ static inline void vn_dispatch_vkCreateCommandPool(struct vn_dispatch_context *c
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateCommandPool(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkCreateCommandPool returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkCreateCommandPool returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkCreateCommandPool_reply(ctx->encoder, &args);
@ -265,15 +260,10 @@ static inline void vn_dispatch_vkResetCommandPool(struct vn_dispatch_context *ct
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkResetCommandPool(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkResetCommandPool returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkResetCommandPool returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkResetCommandPool_reply(ctx->encoder, &args);

@ -2002,4 +2002,18 @@ static inline void vn_dispatch_debug_log(struct vn_dispatch_context *ctx, const
va_end(va);
}
static inline bool vn_dispatch_should_log_result(VkResult result)
{
switch (result) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
case VK_ERROR_FRAGMENTED_POOL:
case VK_ERROR_OUT_OF_POOL_MEMORY:
/* do not log errors that apps normally handle properly */
return false;
default:
/* log all other errors */
return result < VK_SUCCESS;
}
}
#endif /* VN_PROTOCOL_RENDERER_DEFINES_H */

@ -215,15 +215,10 @@ static inline void vn_dispatch_vkCreateDescriptorPool(struct vn_dispatch_context
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateDescriptorPool(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkCreateDescriptorPool returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkCreateDescriptorPool returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkCreateDescriptorPool_reply(ctx->encoder, &args);
@ -274,15 +269,10 @@ static inline void vn_dispatch_vkResetDescriptorPool(struct vn_dispatch_context
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkResetDescriptorPool(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkResetDescriptorPool returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkResetDescriptorPool returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkResetDescriptorPool_reply(ctx->encoder, &args);

@ -547,15 +547,10 @@ static inline void vn_dispatch_vkAllocateDescriptorSets(struct vn_dispatch_conte
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkAllocateDescriptorSets(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkAllocateDescriptorSets returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkAllocateDescriptorSets returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkAllocateDescriptorSets_reply(ctx->encoder, &args);
@ -581,15 +576,10 @@ static inline void vn_dispatch_vkFreeDescriptorSets(struct vn_dispatch_context *
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkFreeDescriptorSets(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkFreeDescriptorSets returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkFreeDescriptorSets returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkFreeDescriptorSets_reply(ctx->encoder, &args);

@ -479,15 +479,10 @@ static inline void vn_dispatch_vkCreateDescriptorSetLayout(struct vn_dispatch_co
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateDescriptorSetLayout(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkCreateDescriptorSetLayout returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkCreateDescriptorSetLayout returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkCreateDescriptorSetLayout_reply(ctx->encoder, &args);

@ -207,15 +207,10 @@ static inline void vn_dispatch_vkCreateDescriptorUpdateTemplate(struct vn_dispat
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateDescriptorUpdateTemplate(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkCreateDescriptorUpdateTemplate returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkCreateDescriptorUpdateTemplate returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkCreateDescriptorUpdateTemplate_reply(ctx->encoder, &args);

@ -8439,15 +8439,10 @@ static inline void vn_dispatch_vkEnumeratePhysicalDevices(struct vn_dispatch_con
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkEnumeratePhysicalDevices(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkEnumeratePhysicalDevices returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkEnumeratePhysicalDevices returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkEnumeratePhysicalDevices_reply(ctx->encoder, &args);
@ -8598,15 +8593,10 @@ static inline void vn_dispatch_vkGetPhysicalDeviceImageFormatProperties(struct v
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetPhysicalDeviceImageFormatProperties(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkGetPhysicalDeviceImageFormatProperties returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkGetPhysicalDeviceImageFormatProperties returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkGetPhysicalDeviceImageFormatProperties_reply(ctx->encoder, &args);
@ -8632,15 +8622,10 @@ static inline void vn_dispatch_vkCreateDevice(struct vn_dispatch_context *ctx, V
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateDevice(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkCreateDevice returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkCreateDevice returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkCreateDevice_reply(ctx->encoder, &args);
@ -8691,15 +8676,10 @@ static inline void vn_dispatch_vkEnumerateDeviceLayerProperties(struct vn_dispat
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkEnumerateDeviceLayerProperties(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkEnumerateDeviceLayerProperties returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkEnumerateDeviceLayerProperties returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkEnumerateDeviceLayerProperties_reply(ctx->encoder, &args);
@ -8725,15 +8705,10 @@ static inline void vn_dispatch_vkEnumerateDeviceExtensionProperties(struct vn_di
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkEnumerateDeviceExtensionProperties(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkEnumerateDeviceExtensionProperties returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkEnumerateDeviceExtensionProperties returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkEnumerateDeviceExtensionProperties_reply(ctx->encoder, &args);
@ -8784,15 +8759,10 @@ static inline void vn_dispatch_vkDeviceWaitIdle(struct vn_dispatch_context *ctx,
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkDeviceWaitIdle(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkDeviceWaitIdle returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkDeviceWaitIdle returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkDeviceWaitIdle_reply(ctx->encoder, &args);
@ -8918,15 +8888,10 @@ static inline void vn_dispatch_vkGetPhysicalDeviceImageFormatProperties2(struct
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetPhysicalDeviceImageFormatProperties2(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkGetPhysicalDeviceImageFormatProperties2 returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkGetPhysicalDeviceImageFormatProperties2 returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkGetPhysicalDeviceImageFormatProperties2_reply(ctx->encoder, &args);
@ -9102,15 +9067,10 @@ static inline void vn_dispatch_vkEnumeratePhysicalDeviceGroups(struct vn_dispatc
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkEnumeratePhysicalDeviceGroups(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkEnumeratePhysicalDeviceGroups returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkEnumeratePhysicalDeviceGroups returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkEnumeratePhysicalDeviceGroups_reply(ctx->encoder, &args);

@ -839,15 +839,10 @@ static inline void vn_dispatch_vkAllocateMemory(struct vn_dispatch_context *ctx,
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkAllocateMemory(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkAllocateMemory returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkAllocateMemory returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkAllocateMemory_reply(ctx->encoder, &args);
@ -923,15 +918,10 @@ static inline void vn_dispatch_vkFlushMappedMemoryRanges(struct vn_dispatch_cont
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkFlushMappedMemoryRanges(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkFlushMappedMemoryRanges returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkFlushMappedMemoryRanges returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkFlushMappedMemoryRanges_reply(ctx->encoder, &args);
@ -957,15 +947,10 @@ static inline void vn_dispatch_vkInvalidateMappedMemoryRanges(struct vn_dispatch
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkInvalidateMappedMemoryRanges(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkInvalidateMappedMemoryRanges returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkInvalidateMappedMemoryRanges returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkInvalidateMappedMemoryRanges_reply(ctx->encoder, &args);

@ -220,15 +220,10 @@ static inline void vn_dispatch_vkCreateEvent(struct vn_dispatch_context *ctx, Vk
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateEvent(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkCreateEvent returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkCreateEvent returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkCreateEvent_reply(ctx->encoder, &args);
@ -279,15 +274,10 @@ static inline void vn_dispatch_vkGetEventStatus(struct vn_dispatch_context *ctx,
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetEventStatus(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkGetEventStatus returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkGetEventStatus returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkGetEventStatus_reply(ctx->encoder, &args);
@ -313,15 +303,10 @@ static inline void vn_dispatch_vkSetEvent(struct vn_dispatch_context *ctx, VkCom
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkSetEvent(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkSetEvent returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkSetEvent returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkSetEvent_reply(ctx->encoder, &args);
@ -347,15 +332,10 @@ static inline void vn_dispatch_vkResetEvent(struct vn_dispatch_context *ctx, VkC
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkResetEvent(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkResetEvent returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkResetEvent returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkResetEvent_reply(ctx->encoder, &args);

@ -336,15 +336,10 @@ static inline void vn_dispatch_vkCreateFence(struct vn_dispatch_context *ctx, Vk
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateFence(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkCreateFence returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkCreateFence returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkCreateFence_reply(ctx->encoder, &args);
@ -395,15 +390,10 @@ static inline void vn_dispatch_vkResetFences(struct vn_dispatch_context *ctx, Vk
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkResetFences(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkResetFences returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkResetFences returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkResetFences_reply(ctx->encoder, &args);
@ -429,15 +419,10 @@ static inline void vn_dispatch_vkGetFenceStatus(struct vn_dispatch_context *ctx,
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetFenceStatus(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkGetFenceStatus returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkGetFenceStatus returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkGetFenceStatus_reply(ctx->encoder, &args);
@ -463,15 +448,10 @@ static inline void vn_dispatch_vkWaitForFences(struct vn_dispatch_context *ctx,
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkWaitForFences(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkWaitForFences returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkWaitForFences returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkWaitForFences_reply(ctx->encoder, &args);

@ -352,15 +352,10 @@ static inline void vn_dispatch_vkCreateFramebuffer(struct vn_dispatch_context *c
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateFramebuffer(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkCreateFramebuffer returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkCreateFramebuffer returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkCreateFramebuffer_reply(ctx->encoder, &args);

@ -1490,15 +1490,10 @@ static inline void vn_dispatch_vkBindImageMemory(struct vn_dispatch_context *ctx
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkBindImageMemory(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkBindImageMemory returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkBindImageMemory returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkBindImageMemory_reply(ctx->encoder, &args);
@ -1549,15 +1544,10 @@ static inline void vn_dispatch_vkCreateImage(struct vn_dispatch_context *ctx, Vk
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateImage(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkCreateImage returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkCreateImage returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkCreateImage_reply(ctx->encoder, &args);
@ -1633,15 +1623,10 @@ static inline void vn_dispatch_vkBindImageMemory2(struct vn_dispatch_context *ct
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkBindImageMemory2(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkBindImageMemory2 returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkBindImageMemory2 returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkBindImageMemory2_reply(ctx->encoder, &args);
@ -1717,15 +1702,10 @@ static inline void vn_dispatch_vkGetImageDrmFormatModifierPropertiesEXT(struct v
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetImageDrmFormatModifierPropertiesEXT(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkGetImageDrmFormatModifierPropertiesEXT returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkGetImageDrmFormatModifierPropertiesEXT returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkGetImageDrmFormatModifierPropertiesEXT_reply(ctx->encoder, &args);

@ -258,15 +258,10 @@ static inline void vn_dispatch_vkCreateImageView(struct vn_dispatch_context *ctx
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateImageView(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkCreateImageView returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkCreateImageView returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkCreateImageView_reply(ctx->encoder, &args);

@ -398,15 +398,10 @@ static inline void vn_dispatch_vkCreateInstance(struct vn_dispatch_context *ctx,
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateInstance(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkCreateInstance returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkCreateInstance returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkCreateInstance_reply(ctx->encoder, &args);
@ -453,15 +448,10 @@ static inline void vn_dispatch_vkEnumerateInstanceVersion(struct vn_dispatch_con
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkEnumerateInstanceVersion(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkEnumerateInstanceVersion returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkEnumerateInstanceVersion returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkEnumerateInstanceVersion_reply(ctx->encoder, &args);
@ -483,15 +473,10 @@ static inline void vn_dispatch_vkEnumerateInstanceLayerProperties(struct vn_disp
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkEnumerateInstanceLayerProperties(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkEnumerateInstanceLayerProperties returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkEnumerateInstanceLayerProperties returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkEnumerateInstanceLayerProperties_reply(ctx->encoder, &args);
@ -513,15 +498,10 @@ static inline void vn_dispatch_vkEnumerateInstanceExtensionProperties(struct vn_
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkEnumerateInstanceExtensionProperties(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkEnumerateInstanceExtensionProperties returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkEnumerateInstanceExtensionProperties returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkEnumerateInstanceExtensionProperties_reply(ctx->encoder, &args);

@ -1482,15 +1482,10 @@ static inline void vn_dispatch_vkCreateGraphicsPipelines(struct vn_dispatch_cont
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateGraphicsPipelines(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkCreateGraphicsPipelines returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkCreateGraphicsPipelines returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkCreateGraphicsPipelines_reply(ctx->encoder, &args);
@ -1516,15 +1511,10 @@ static inline void vn_dispatch_vkCreateComputePipelines(struct vn_dispatch_conte
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateComputePipelines(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkCreateComputePipelines returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkCreateComputePipelines returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkCreateComputePipelines_reply(ctx->encoder, &args);

@ -254,15 +254,10 @@ static inline void vn_dispatch_vkCreatePipelineCache(struct vn_dispatch_context
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreatePipelineCache(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkCreatePipelineCache returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkCreatePipelineCache returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkCreatePipelineCache_reply(ctx->encoder, &args);
@ -313,15 +308,10 @@ static inline void vn_dispatch_vkGetPipelineCacheData(struct vn_dispatch_context
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetPipelineCacheData(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkGetPipelineCacheData returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkGetPipelineCacheData returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkGetPipelineCacheData_reply(ctx->encoder, &args);
@ -347,15 +337,10 @@ static inline void vn_dispatch_vkMergePipelineCaches(struct vn_dispatch_context
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkMergePipelineCaches(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkMergePipelineCaches returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkMergePipelineCaches returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkMergePipelineCaches_reply(ctx->encoder, &args);

@ -207,15 +207,10 @@ static inline void vn_dispatch_vkCreatePipelineLayout(struct vn_dispatch_context
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreatePipelineLayout(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkCreatePipelineLayout returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkCreatePipelineLayout returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkCreatePipelineLayout_reply(ctx->encoder, &args);

@ -240,15 +240,10 @@ static inline void vn_dispatch_vkCreateQueryPool(struct vn_dispatch_context *ctx
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateQueryPool(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkCreateQueryPool returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkCreateQueryPool returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkCreateQueryPool_reply(ctx->encoder, &args);
@ -299,15 +294,10 @@ static inline void vn_dispatch_vkGetQueryPoolResults(struct vn_dispatch_context
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetQueryPoolResults(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkGetQueryPoolResults returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkGetQueryPoolResults returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkGetQueryPoolResults_reply(ctx->encoder, &args);

@ -874,15 +874,10 @@ static inline void vn_dispatch_vkQueueSubmit(struct vn_dispatch_context *ctx, Vk
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkQueueSubmit(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkQueueSubmit returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkQueueSubmit returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkQueueSubmit_reply(ctx->encoder, &args);
@ -908,15 +903,10 @@ static inline void vn_dispatch_vkQueueWaitIdle(struct vn_dispatch_context *ctx,
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkQueueWaitIdle(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkQueueWaitIdle returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkQueueWaitIdle returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkQueueWaitIdle_reply(ctx->encoder, &args);
@ -942,15 +932,10 @@ static inline void vn_dispatch_vkQueueBindSparse(struct vn_dispatch_context *ctx
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkQueueBindSparse(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkQueueBindSparse returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkQueueBindSparse returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkQueueBindSparse_reply(ctx->encoder, &args);

@ -1352,15 +1352,10 @@ static inline void vn_dispatch_vkCreateRenderPass(struct vn_dispatch_context *ct
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateRenderPass(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkCreateRenderPass returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkCreateRenderPass returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkCreateRenderPass_reply(ctx->encoder, &args);
@ -1436,15 +1431,10 @@ static inline void vn_dispatch_vkCreateRenderPass2(struct vn_dispatch_context *c
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateRenderPass2(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkCreateRenderPass2 returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkCreateRenderPass2 returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkCreateRenderPass2_reply(ctx->encoder, &args);

@ -278,15 +278,10 @@ static inline void vn_dispatch_vkCreateSampler(struct vn_dispatch_context *ctx,
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateSampler(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkCreateSampler returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkCreateSampler returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkCreateSampler_reply(ctx->encoder, &args);

@ -171,15 +171,10 @@ static inline void vn_dispatch_vkCreateSamplerYcbcrConversion(struct vn_dispatch
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateSamplerYcbcrConversion(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkCreateSamplerYcbcrConversion returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkCreateSamplerYcbcrConversion returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkCreateSamplerYcbcrConversion_reply(ctx->encoder, &args);

@ -503,15 +503,10 @@ static inline void vn_dispatch_vkCreateSemaphore(struct vn_dispatch_context *ctx
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateSemaphore(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkCreateSemaphore returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkCreateSemaphore returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkCreateSemaphore_reply(ctx->encoder, &args);
@ -562,15 +557,10 @@ static inline void vn_dispatch_vkGetSemaphoreCounterValue(struct vn_dispatch_con
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetSemaphoreCounterValue(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkGetSemaphoreCounterValue returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkGetSemaphoreCounterValue returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkGetSemaphoreCounterValue_reply(ctx->encoder, &args);
@ -596,15 +586,10 @@ static inline void vn_dispatch_vkWaitSemaphores(struct vn_dispatch_context *ctx,
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkWaitSemaphores(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkWaitSemaphores returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkWaitSemaphores returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkWaitSemaphores_reply(ctx->encoder, &args);
@ -630,15 +615,10 @@ static inline void vn_dispatch_vkSignalSemaphore(struct vn_dispatch_context *ctx
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkSignalSemaphore(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkSignalSemaphore returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkSignalSemaphore returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkSignalSemaphore_reply(ctx->encoder, &args);

@ -169,15 +169,10 @@ static inline void vn_dispatch_vkCreateShaderModule(struct vn_dispatch_context *
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkCreateShaderModule(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkCreateShaderModule returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkCreateShaderModule returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkCreateShaderModule_reply(ctx->encoder, &args);

@ -704,15 +704,10 @@ static inline void vn_dispatch_vkGetMemoryResourcePropertiesMESA(struct vn_dispa
if (!vn_cs_decoder_get_fatal(ctx->decoder))
ctx->dispatch_vkGetMemoryResourcePropertiesMESA(ctx, &args);
if (!vn_cs_decoder_get_fatal(ctx->decoder) && args.ret < VK_SUCCESS) {
switch (args.ret) {
case VK_ERROR_FORMAT_NOT_SUPPORTED:
break;
default:
vn_dispatch_debug_log(ctx, "vkGetMemoryResourcePropertiesMESA returned %d", args.ret);
break;
}
}
#ifdef DEBUG
if (!vn_cs_decoder_get_fatal(ctx->decoder) && vn_dispatch_should_log_result(args.ret))
vn_dispatch_debug_log(ctx, "vkGetMemoryResourcePropertiesMESA returned %d", args.ret);
#endif
if (!vn_cs_decoder_get_fatal(ctx->decoder) && (flags & VK_COMMAND_GENERATE_REPLY_BIT_EXT))
vn_encode_vkGetMemoryResourcePropertiesMESA_reply(ctx->encoder, &args);

Loading…
Cancel
Save