Closed pratamabayu closed 5 months ago
Do you see any validation layer messages from sokol-gfx or the Metal validation layer?
Unfortunetly, I didn't see anything about sokol-gfx or metal validation output.
Couple more questions:
Oh, my bad. It's my fault. I forgot to get the right pipeline from the cache when rendering offscreen. So this issue just in my framework, the sokol_gfx works well.
Hi @floooh ,
I'm not sure this is bug or not. But i have issue with multiple
sg_apply_uniforms
when creating multiple render target. I just test on metal.This's my logic
They result clear color only. If I remove the whole of render target 2 code block or
sg_apply_uniforms(...); // in fragment stage, ub 0
, render target 1 works fine.This is my UB shade part in render target 2
Below is the issue, all render targets just render clear color :
Below is the screenshot when i remove the render target 2 code block or
sg_apply_uniforms(...); // in fragment stage, ub 0
:In my opinion, if my mesh or shader is broken in render target 2. It shouldn't affect render target 1 right?