zeux / niagara

A Vulkan renderer written from scratch on stream
MIT License
1.26k stars 72 forks source link

Assertion Failed #22

Closed DonovaneH closed 2 years ago

DonovaneH commented 2 years ago

i have this error :

C:\Users\Donovane>C:\Users\Donovane\Desktop\niagara-master\src\Release\niagara.exe C:\Users\Donovane\Desktop\niagara-master\src\Release\monitor.obj GPU0: NVIDIA GeForce RTX 2060 Selected GPU NVIDIA GeForce RTX 2060 Assertion failed: rcs, file C:\Users\Donovane\Desktop\niagara-master\src\niagara.cpp, line 547

how to solve them ?

BeastLe9enD commented 2 years ago

Looks like the shaders are not being loaded properly, ensure that all spirv files are inside the C:\Users\Donovane\Desktop\niagara-master\src\Release\ directory.

JesseRMeyer commented 2 years ago

The code depends upon the working directory being in src.

The following works for me. F:\niagara\src>.\x64\Release\niagara.exe ..\data\kitten.obj