[Mesa-dev] [PATCH 7/7] radeonsi: handle first_non_void correctly in si_create_vertex_elements

Nicolai Hähnle nhaehnle at gmail.com
Tue Jan 24 09:05:09 UTC 2017


On 23.01.2017 18:42, Marek Olšák wrote:
> On Mon, Jan 23, 2017 at 4:10 PM, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
>> When does it happen that first_non_void < 0? Doesn't this require
>> PIPE_FORMAT_NONE, and why would that occur?
>
> R11G11B10_FLOAT, because it's in the category of "OTHER", meaning that
> it doesn't have any channel description.

Ah, those odd corner cases, thanks for the explanation.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>

>
> Marek
>


More information about the mesa-dev mailing list