You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I used ggui to draw circles,an warning came up. Global store may lose precision: f32 <- f64On line 38 of file "...\taichi\ui\staging_buffer.py", in fill_vbo: vbo[i][offset + c] = value
It seems due to the default float I used is f64 so that the 1.0 in fill_vbo(vbo, 1.0, 11, 1) is aranged in f64.I suggset use fill_vbo(vbo, ti.cast(1.0, ti.f32), 11, 1) (at line 78,staging_buffer.py,v1.04) instead.
The text was updated successfully, but these errors were encountered:
When I used ggui to draw circles,an warning came up.
Global store may lose precision: f32 <- f64On line 38 of file "...\taichi\ui\staging_buffer.py", in fill_vbo: vbo[i][offset + c] = value
It seems due to the default float I used is f64 so that the 1.0 in
fill_vbo(vbo, 1.0, 11, 1)
is aranged in f64.I suggset usefill_vbo(vbo, ti.cast(1.0, ti.f32), 11, 1)
(at line 78,staging_buffer.py,v1.04) instead.The text was updated successfully, but these errors were encountered: