AnsweredAssumed Answered

vkCreateComputePipelines returning VK_ERROR_INITIALIZATION_FAILED

Question asked by Cedako on Apr 7, 2016
Latest reply on Jun 22, 2016 by dwitczak

In the project I'm working on, I need to execute a compute shader. It's working, but after I did some modifications to the code calling `vkCreateComputePipelines` started to return the `VK_ERROR_INITIALIZATION_FAILED` error code.


Here is a reduced case of the source code of the shader that triggers the problem: bug.glsl · GitHub

Removing either lines 54-55 or lines 70-73 fixes the problem (and the compute shader then does work). This leads me to think that it's a low-level problem in either glslangValidator or the driver, and not a problem in my code or API usage. Someone on the ##vulkan IRC channel didn't spot anything wrong in the SPIR-V code and thinks it's probably caused by the driver.


The SPIR-V output has been attached. I'm using the latest commit of the glslang repo (7e3e486).

I can send an executable in private if needed.


Windows 7 64bits

Radeon HD 7950

Driver version 16.15.2111.1001 Beta1