Fix T69377 Texture flickering when selecting in solid viewport (AMD Pro driver)
Workaround that does not fix the real issue. The bug is caused by glBufferData inside DRW_instance_buffer_finish > GPU_vertbuf_use but only after the selection code which resets the number of items in idatalist->pool_buffers. I don't understand why this is happening as the vbo ids are all valid and no error is reported. What is even more strange, is that it affects another vbo which has no connection with the ones in DRW_instance_buffer_finish.
This commit is contained in:
parent
c601839176
commit
df3891ed81
Notes:
blender-bot
2023-02-14 06:00:51 +01:00
Referenced by issue #69377, Texture flickering when selecting in solid viewport / AMD Navi RX 5700 series
|
@ -2630,7 +2630,13 @@ void DRW_draw_select_id(Depsgraph *depsgraph, ARegion *ar, View3D *v3d, const rc
|
|||
|
||||
drw_engines_cache_finish();
|
||||
|
||||
#if 0 /* This is a workaround to a nasty bug that seems to be a nasty driver bug. (See T69377) */
|
||||
DRW_render_instance_buffer_finish();
|
||||
#else
|
||||
DST.buffer_finish_called = true;
|
||||
// DRW_instance_buffer_finish(DST.idatalist);
|
||||
drw_resource_buffer_finish(DST.vmempool);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Start Drawing */
|
||||
|
|
Loading…
Reference in New Issue