[PATCH] Add RGBA64 texture cpp for vc4 driver.

Eric Anholt eric at anholt.net
Thu Nov 1 20:10:55 UTC 2018


Nick Kreeger <nick.kreeger at gmail.com> writes:

> This patch is needed to help implement half-float texturing and
> rendering for the vc4 driver in mesa. This small patch introduces the
> cpp value for the RGBA64 texture. A future patch will include updates to
> vc4_render_cl.c to handle HDR color stores.

We'll need a GET_PARAM ioctl param to say "we support RGBA64 textures"
and use that from vc4_screen.c's format checking, otherwise new Mesa on
old kernels will try to expose RGBA64 textures and fail at rendering
time.  If we're introducing a GET_PARAM, we probably want to just do
half float rendering and texturing at the same time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20181101/01cc07e4/attachment.sig>


More information about the dri-devel mailing list