Does anybody have enough experience with Qualcomm/Adreno and SPIR-V?

I have valid SPIR-V, well according to the Lunar G validation and glsl → spirv tools.
Now, it is my understanding that this is standardization enough to not get errors when using the shader on an Android Tablet, neither should it matter that the spirv has been produced on my linux laptop. I do definitely get an error during compilation and not prior to it.

I have added the Qualcomm validation layer but it’s useless in respect to shading it seems.
All I get is an error, and I cannot find clues online, and the ones I tried which suggest optimization options (or omissions of such) do not work.

Qualcomm is useless as they offer no support for non commercial purposes.

Has anybody made any experience with that setup/hardware. Below I included a logcat snippet that gives more info on driver and error…

2021-09-26 16:28:47.973 2207-2250/sdl.vulkan D/vulkan: searching for layers in '/data/app/sdl.vulkan-Zu3FuHtFgUV_njEAvS0XNA==/lib/arm64'
2021-09-26 16:28:47.973 2207-2250/sdl.vulkan D/vulkan: searching for layers in '/data/app/sdl.vulkan-Zu3FuHtFgUV_njEAvS0XNA==/base.apk!/lib/arm64-v8a'
2021-09-26 16:28:47.973 2207-2207/sdl.vulkan W/SDLThread: type=1400 audit(0.0:4327): avc: granted { execute } for path="/data/data/sdl.vulkan/libVkLayer_adreno.so" dev="dm-9" ino=17695 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=file
2021-09-26 16:28:47.988 2207-2250/sdl.vulkan I/vulkan: Loaded layer VK_LAYER_ADRENO_debug
2021-09-26 16:28:47.988 2207-2250/sdl.vulkan I/VkAdrenoDebugLayer: Found a VkAdrenoDebugLayer Settings File: /data/local/tmp/vkal_config.txt
2021-09-26 16:28:47.995 2207-2250/sdl.vulkan I/AdrenoVK-0: QUALCOMM build          : f4274a6, Ifa5c16ae44
    Build Date              : 08/11/20
    Shader Compiler Version : EV031.29.00.16
    Local Branch            :
    Remote Branch           : quic/gfx-adreno.lnx.1.0.r107-rel
    Remote Branch           : NONE
    Reconstruct Branch      : NOTHING
2021-09-26 16:28:47.995 2207-2250/sdl.vulkan I/AdrenoVK-0: Build Config            : S P 8.0.16 AArch64
2021-09-26 16:28:47.995 2207-2250/sdl.vulkan I/AdrenoVK-0: Driver Path             : /vendor/lib64/hw/vulkan.bengal.so
Shader compilation failed for shaderType: 0
Info log: Internal compiler error: Invalid SPIR-V module: ID bound

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.