Skip to content

shadowmappingcascade crash #1218

@mnetsch

Description

@mnetsch

Reproduction steps:

  1. On Android run shadowmappingcascade example
  2. Minimize app, then bring app back into focus

Invalid usage seen before crash:

VALIDATION: Validation Error: [ VUID-VkDescriptorSetAllocateInfo-commonparent ] | MessageID = 0x3b3f54a1
VALIDATION: vkAllocateDescriptorSets(): pAllocateInfo->pSetLayouts[0] (VkDescriptorSetLayout 0x4c000000004c) was created, allocated or retrieved from VkDevice 0x76a94b5140, but command is using (or its dispatchable parameter is associated with) VkDevice 0x76a947fe50.
VALIDATION: The Vulkan spec states: Both of descriptorPool, and the elements of pSetLayouts must have been created, allocated, or retrieved from the same VkDevice (https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#VUID-VkDescriptorSetAllocateInfo-commonparent)

Probable cause:

Missing implementation of APP_CMD_SAVE_STATE: https://github.com/SaschaWillems/Vulkan/blob/master/base/vulkanexamplebase.cpp#L1594

Thanks

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions