Received following error when trying to build imageeffects sample with latest glslangValidator (built from https://github.com/KhronosGroup/glslang) <br>==== <br>SPIR-V Generation: glslangValidator -s -V D:\Vulkan\AdrenoSDKforVulkan\samples\imageeffects\app\src\main\jni\shaders\imageeffects.vert -o D:\Vulkan\AdrenoSDKforVulkan\samples\imageeffects\app\src\main\assets/imageeffects_vert.spv imageeffects.vert compilation failed, return code: -1073741515 <br>==== <br>Env: Android Studio 1.5.1 NDK: r10e <br>Any suggestion to solve this error? Thanks,
[Vulkan][Sample] Build error on imageeffects
Posted: Wed, 2016-03-16 04:51
Hi Vu,
Have you tried replacing backslashes with forward slashes in command line to see if that helps?
Not able to duplicate this using an glslangValidator built from today's source (3/21/16).
Is the issue just with the imageffects sample? Are any of the other shaders in the sample being built?
You can hard-code the path glslangValidator in app/build.gradle
class generateSPIRVCompiledShaders extends DefaultTask {
or for Windows
def validator = "C:\<your_path>\glslangValidator"
You must have glslangValidator built and installed from https://github.com/KhronosGroup/glslang