Page 1 of 1

gpu shader - system hang

Posted: Sat Aug 10, 2019 2:32 am
by elhobbs
I am trying to implement a particle gpu shader. It seems to be mostly working correctly - except that it will occasionally deadlock the system and I cannot figure out the issue. It only happens on hardware - citra does not see any issues as far as I can tell.

Any assistance or ideas would be appreciated.

All of the code is on git. Here are the pertinent pieces of code:

gpu and vertex shaders
https://github.com/elhobbs/spectre3ds/b ... cle.g.pica
https://github.com/elhobbs/spectre3ds/b ... cle.v.pica

code reference
https://github.com/elhobbs/spectre3ds/b ... .cpp#L1279

If I disable drawing the particles then there is no issue (specifically just commenting out the draw call - C3D_DrawElements).

Re: gpu shader - system hang

Posted: Sat Sep 14, 2019 4:08 pm
by elhobbs
any ideas on how to troubleshoot this issue? any way to see what the gpu does not like?