[Mesa-dev] [PATCH v2 5/7] nir: Offset vertex_id by first_vertex instead of base_vertex
Marek Olšák
maraeo at gmail.com
Mon Dec 11 21:59:44 UTC 2017
On Mon, Dec 11, 2017 at 8:43 PM, Ian Romanick <idr at freedesktop.org> wrote:
> On 12/04/2017 12:12 PM, Antia Puentes wrote:
>> From: Neil Roberts <nroberts at igalia.com>
>>
>> base_vertex will be zero for non-indexed calls, but we need it to
>> include the ‘first’ parameter. This is true for both GL and Vulkan.
>>
>> I think this patch will also affect freedreno and radeonsi. I believe
>
> If you think a patch might break someone's driver, you should CC them on
> the patch... they're more likely to verify it that way. Adding Marek
> and Rob. :)
On radeonsi with NIR, nir_intrinsic_load_base_vertex returns firstvertex.
nir_intrinsic_load_first_vertex is unhandled.
Marek
More information about the mesa-dev
mailing list