Themaister / slang-shaders

44 stars 100 forks source link

SpvBuilder-related crash from shader #2

Open hizzlekizzle opened 7 years ago

hizzlekizzle commented 7 years ago

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.