I would rather see a different version of the shader for the different usage. Just like the wire shader does.
I was trying to avoid #ifdef
, but don't have an argument. So maybe.
Why did…
It appeared in legacy overlay nothing was fixed.
So one of the problems was that g_formats.point_extra
was defined as {float3, int}
though data by OVERLAY_extra_point
added as `{float3,…
I don't know where u
came from, I just found it in the definition of GPU_SHADER_CREATE_INFO(overlay_extra_loose_point)
Regarding legacy overlay it fixes problem for relations, as they did not…
Added VertexInstanceBuf
as common parent for LineInstanceBuf
and PointInstanceBuf
. It is not big benefit in line count, but I prefer not to duplicate logic.
Also word Instance
in these…
Yes. Thought that there is a replacement like for G_draw.block_ubo
.
If you see no problem, I'm fine too.
First try was put matrices and select_ids into simple Vector<std::pair<float4x4, select:ID>>
and then