I've been looking into better ways to solve this as we talked about on chat, but that would require…
I think the debug code is confusing and not isolated. Might be better to remove it. We don't need that in production (I mean the cost of having a separate framebuffer + clear etc...), you can…
Because to debug the conservative rasterization I raycast against the original aabb in the fragment shader. If there's no hit, then it's a "conservatively rasterized" pixel.
If we keep the…
The DRW_Attributes
parameter in drw_attributes_has_request
is const, but drw_attributes_add_request
returns a non-const one.
There's not a single call to drw_attributes_add_request
that…
I'm a bit surprised this is necessary, since it looks like
drw_attributes_merge
is meant to handle this already.
The issue is that this is at the beginning of the function:
if…