You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(this shader code does work in GPU-GLSL and other CPU "GLSL emulators/environments") shader spv file in attachment
I tried a few of my own shaders - works, but then next few shaders just do not work in SPIRV-VM, I think it because of large arrays in the shaders or something wrong with array logic in SPIRV-VM...
Or maybe I make error in C code.
C code of modified example.c:
Launching this code with this shader result 100% crash on 3-rd loop iteration.
I tried to have only(recreate it) state and spvm_state_delete(state); inside loop - it still crash. (moving everything to loop does not fix it, it still crashes)
Crash on line spvm_state_call_function, crash only when it called using loop.
Crash same with spvm_state_step_into on line 0 on first call in 3-rd loop iteration.
Call only once does not have a crash.
Sorry if I missing something in the C code and its my error, I dont see error there.
(this shader code does work in GPU-GLSL and other CPU "GLSL emulators/environments")
shader spv file in attachment
I tried a few of my own shaders - works, but then next few shaders just do not work in SPIRV-VM, I think it because of large arrays in the shaders or something wrong with array logic in SPIRV-VM...
Or maybe I make error in C code.
C code of modified example.c:
Launching this code with this shader result 100% crash on 3-rd loop iteration.
I tried to have only(recreate it)
state
andspvm_state_delete(state);
inside loop - it still crash. (moving everything to loop does not fix it, it still crashes)Crash on line
spvm_state_call_function
, crash only when it called using loop.Crash same with
spvm_state_step_into
on line 0 on first call in 3-rd loop iteration.Call only once does not have a crash.
Sorry if I missing something in the C code and its my error, I dont see error there.
shader.zip
The text was updated successfully, but these errors were encountered: