[Mesa-dev] [PATCH] ac/surface: Don't assert that bpp is power of two.

Marek Olšák maraeo at gmail.com
Tue May 15 19:34:28 UTC 2018


On Tue, May 15, 2018 at 3:32 PM, Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
wrote:

> No, this is a vulkan issue, where we want to let apps create linear
> RGB float surfaces. (AMDVLK exposes this too:
> http://vulkan.gpuinfo.org/displayreport.php?id=3222#formats, see
> R32G32B32_SFLOAT and friends) Vulkan has no conecept of staging
> textures (or at least the app does not have to tell the driver).
>
> Though I'm not so sure anymore my patch is the right one, since vulkan
> apps can share these surfaces with other apps using the same GPU.
>

Yeah, I think the shareable flag isn't guaranteed to be always set.

Marek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180515/4bd14366/attachment-0001.html>


More information about the mesa-dev mailing list