[Mesa-dev] [Bug 110815] Segfault vkCreateDescriptorPool in The-Forge on RADV

2019-06-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110815 Samuel Pitoiset changed: What|Removed |Added Resolution|--- |NOTOURBUG Status|NEW

[Mesa-dev] [Bug 110815] Segfault vkCreateDescriptorPool in The-Forge on RADV

2019-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110815 --- Comment #7 from Alex Fuller --- Hello again, I didn't realise it was so simple to build debug versions of Mesa/RADV so I went ahead and did this. I've found the bug: https://gitlab.freedesktop.org/mesa/mesa/blob/master/src/amd/vulkan/radv_

[Mesa-dev] [Bug 110815] Segfault vkCreateDescriptorPool in The-Forge on RADV

2019-06-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110815 --- Comment #6 from Alex Fuller --- I managed to do some testing and I can now trigger the bug. It looks like when creating a vkCreateDescriptorPool of size 11 which is the default VK_DESCRIPTOR_TYPE_RANGE_SIZE everything is fine which is the be

[Mesa-dev] [Bug 110815] Segfault vkCreateDescriptorPool in The-Forge on RADV

2019-06-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110815 --- Comment #5 from Alex Fuller --- Hi Baz, I am not in front of that computer right now, but I believe the function is being passed an array of size 'CONF_DESCRIPTOR_TYPE_RANGE_SIZE' which is 'VK_DESCRIPTOR_TYPE_RANGE_SIZE' or VK_DESCRIPTOR_TY

[Mesa-dev] [Bug 110815] Segfault vkCreateDescriptorPool in The-Forge on RADV

2019-06-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110815 --- Comment #4 from Bas Nieuwenhuizen --- >From that description, sounds like poolSizeCount is wrong. It should be equal to the number of structs in pPoolSizes, not the sum of their descriptorCount. So sounds like it should be 1. >From spec: "

[Mesa-dev] [Bug 110815] Segfault vkCreateDescriptorPool in The-Forge on RADV

2019-06-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110815 --- Comment #3 from Alex Fuller --- If this helps, the debugger reports the amount of descriptor pool sizes and max sets here before the vkCreateDescriptorPool call: poolCreateInfo.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO; poolCreat

[Mesa-dev] [Bug 110815] Segfault vkCreateDescriptorPool in The-Forge on RADV

2019-06-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110815 --- Comment #2 from Alex Fuller --- Hi Bas, Yep a framework, I bundle in one of their unit tests for the lite edition 01_Transformations which causes the bug: https://github.com/boberfly/The-Forge-Lite/blob/v1.27/src/Examples/01_Transformations

[Mesa-dev] [Bug 110815] Segfault vkCreateDescriptorPool in The-Forge on RADV

2019-06-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110815 --- Comment #1 from Bas Nieuwenhuizen --- So AFAIU this is a framework right? Any demo apps using it that reproduce the issue? On Mon, Jun 3, 2019, 12:53 AM wrote: > Bug ID 110815 > Summar

[Mesa-dev] [Bug 110815] Segfault vkCreateDescriptorPool in The-Forge on RADV

2019-06-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110815 Bug ID: 110815 Summary: Segfault vkCreateDescriptorPool in The-Forge on RADV Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW