My favorite GL bug is when nothing happens when I run it, but when I capture a frame and inspect it in @RenderDoc, everything renders as I expect. *sigh*
-
Näytä tämä ketju
-
I have a bad feeling this is going to be memory barrier related. =/
1 vastaus 0 uudelleentwiittausta 0 tykkäystäNäytä tämä ketju -
Now using glMemoryBarrier(GL_ALL_BARRIER_BITS) just for my sanity and it still doesn't work. =/ Compute shader fills whole texture with red (1,0,0,1). Then render a triangle with UVs. Everything looks right in RD frame inspector. Black otherwise. *sigh*
2 vastausta 0 uudelleentwiittausta 0 tykkäystäNäytä tämä ketju
Turns out it didn't like that I never cleared the FBO I was drawing to. *shrug* Once I put a clear color first, it all worked.
10.18 - 7. helmik. 2020
0 vastausta
0 uudelleentwiittausta
1 tykkäys
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.