Bug 109821

Summary: Simple triangle Vulkan example gives pipeline->layout failed.
Product: Mesa Reporter: Mike Mestnik <cheako+bugs_freedesktop_org>
Component: Drivers/Vulkan/radeonAssignee: mesa-dev
Status: RESOLVED NOTOURBUG QA Contact: mesa-dev
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Mike Mestnik 2019-03-03 19:20:47 UTC
System specs:
https://bugs.freedesktop.org/show_bug.cgi?id=109445

Plus zram-tools, giving a slight boost/addition to swap space.

cheako@nysa:~/src/github/cheako-vulkan$ 0000tri/vulkan 
Xlib:  extension "NV-GLX" missing on display ":0".
vulkan: ../src/amd/vulkan/radv_pipeline.c:3548: radv_pipeline_init: Assertion `pipeline->layout' failed.
Aborted (core dumped)
cheako@nysa:~/src/github/cheako-vulkan$ 

https://github.com/cheako/cheako-vulkan/blob/v0.1/0000tri/vulkan.c

Note: the rest of the examples work to varying extents.
Comment 1 Bas Nieuwenhuizen 2019-03-03 19:47:39 UTC
The pipeline_layout variable in the example is VK_NULL_HANDLE because it does not call create_pipeline_layout.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.