likun123687
likun123687
好的,谢谢作者答疑
> PS: does it make any difference if you move the sg_update_buffer() call above the sg_apply_bindings() and sg_apply_pipeline() call, or entirely out of the render pass (it shouldn't but if...
PS:After some tests, i found that the sg_update_buffer call must after sg_begin_default_pass and before sg_apply_pipeline and sg_apply_bindings like this: ``` sg_begin_default_pass(&state.pass_action, sapp_width(), sapp_height()); sg_update_buffer(state.bind.vertex_buffers[0], &SG_RANGE(vertices)); sg_apply_pipeline(state.pip); sg_apply_bindings(&state.bind); ``` or the...
My fault, putting sg_update_buffer() between sg_apply_pipeline() and sg_apply_bindings() do not have the issue neither.Both movements are smooth.
I don't use xcode directly, i use the xmake tools, all the tests are compile with xmake debug mode. Does this turn on Metal validation layer auto? Or is there...
Then when i make my test, the Metal validation layer should have been disabled. sg_update_buffer reorder workaround works fine for me so far. Thanks for your valuable tips.
I meet the same issue
I meet the same problem, have you solve this?