gpu shader - system hang

Post Reply
elhobbs
Posts: 358
Joined: Thu Jul 02, 2009 1:19 pm

gpu shader - system hang

Post by elhobbs » Sat Aug 10, 2019 2:32 am

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).

elhobbs
Posts: 358
Joined: Thu Jul 02, 2009 1:19 pm

Re: gpu shader - system hang

Post by elhobbs » Sat Sep 14, 2019 4:08 pm

any ideas on how to troubleshoot this issue? any way to see what the gpu does not like?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest