slang-shaders icon indicating copy to clipboard operation
slang-shaders copied to clipboard

SpvBuilder-related crash from shader

Open hizzlekizzle opened this issue 8 years ago • 0 comments

If I try to #include this file: https://github.com/libretro/slang-shaders/blob/master/crt/shaders/crt-royale/src/tex2Dantialias.h in any shader, RetroArch crashes with this error:

[garbled mess]!Assertion failed!

Program: C:\...\retroarch_debug.exe
File: deps/glslang/glslang/SPIRV/SpvBuilder.cpp, Line 1756

Expression: isAggregateType(typId) || (getNumTypeConstitutents(typeId) > 1 && getNumTypeConstitutents(typeId) == (int)constituents.size())

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

hizzlekizzle avatar Oct 13 '16 17:10 hizzlekizzle