[Mesa-dev] Instancing support in r300g?

Christoph Bumiller e0425955 at student.tuwien.ac.at
Sat May 18 08:54:32 PDT 2013


On 18.05.2013 17:41, Marek Olšák wrote:
> ARB_draw_instanced is a DX10 feature.
>
> The R300-R500 chipsets do not support instancing at all.
> ARB_instanced_arrays is emulated with a loop in the driver, so that
> instancing is supported in Wine/DX9.

Modern NV cards still require you to loop in the driver ... the only
"hardware support" for instancing they added is a builtin counter.

> Marek
>
> On Sat, May 18, 2013 at 4:59 PM, Lauri Kasanen <cand at gmx.com> wrote:
>> On Sat, 18 May 2013 17:46:32 +0300
>> Lauri Kasanen <cand at gmx.com> wrote:
>>
>>> On Sat, 18 May 2013 13:50:35 +0200
>>> Christoph Bumiller <e0425955 at student.tuwien.ac.at> wrote:
>>>
>>>> r300_get_param:
>>>> case PIPE_CAP_VERTEX_ELEMENT_INSTANCE_DIVISOR: return 1;
>>>>
>>>> That's ARB_instanced_arrays, which is what d3d9 supports
>>>> (IDirect3DDevice9::SetStreamSourceFreq).
>>> Instanced arrays alone, without a way to draw instances is pretty
>>> useless, would you say?
>> My mistake, I didn't see the arrays extension adds those draw calls in
>> that situation.
>>
>> - Lauri
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list