[Mesa-dev] EXT_shader_image_load_store requires format-less loads?

Marek Olšák maraeo at gmail.com
Wed Aug 7 03:15:30 UTC 2019


It's possible that I misread the spec, because the format qualifier looked
imprecise. Feel free to fix this.

Marek

On Tue, Aug 6, 2019 at 8:10 PM Ilia Mirkin <imirkin at alum.mit.edu> wrote:

> Hi Pierre-Eric,
>
> I see you recently added EXT_shader_image_load_store - nice. It seems
> like you're relying on the format-less read access feature to make it
> happen:
>
> +   extensions->EXT_shader_image_load_store &=
> +      screen->get_param(screen, PIPE_CAP_IMAGE_LOAD_FORMATTED);
>
> Can you elaborate why this is necessary? From a quick read of the
> spec, it seems like the format is required, and maps to a format same
> way that ARB_image_load_store does (well, *slightly* different, but in
> the end, we get one of those same enum values out). The LOAD_FORMATTED
> thing enables you to read from an image with PIPE_FORMAT_NONE (which
> normally can only be written to).
>
> I don't see anything in the spec which requires it, but perhaps I
> missed something. I'd be a bit surprised though, since this is rather
> non-trivial on NVIDIA GPUs.
>
> Cheers,
>
>   -ilia
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190806/9ab902e7/attachment.html>


More information about the mesa-dev mailing list