Chad Versace <[email protected]> writes:

> These functions do an up or downsample between mt and mt->singlesample_mt.
>
> Conceptually, these functions belong in intel_mipmap_tree.c. However, they
> needs to interact with blorp, which is C++. So I created a new file,
> brw_blorp_orphans.cpp, for these and other functions that fall into the
> same category.
>
> v2:
>     - Add an upsample function.
>     - Also up/downsample the stencil miptree.
>     - Assert that the miptree is "flat".

Couldn't we just make a brw_blorp_blit(brw, src_mt, dst_mt, ...)
function in the brw_blorp_blit file.cpp, which do_blorp_blit could use,
and then we wouldn't need to put this code in a weird file?

Attachment: pgpplVH9qvm1l.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to