gallium: split CAP_INSTANCE_DRAWING into INSTANCEID and INSTANCE_DIVISOR
authorMarek Olšák <maraeo@gmail.com>
Sat, 5 Mar 2011 15:06:10 +0000 (16:06 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sat, 5 Mar 2011 16:40:19 +0000 (17:40 +0100)
commit95c7881ac8240fa369e33db411bbd165d0f61948
tree3fbb3abbb192d561f659f1146a02afc00782b825
parent307408a4f89be2613cac39c5f0cd776a71039965
gallium: split CAP_INSTANCE_DRAWING into INSTANCEID and INSTANCE_DIVISOR

ARB_instanced_arrays is a subset of D3D9.
ARB_draw_instanced is a subset of D3D10.

The point of this change is to allow D3D9-level drivers to enable
ARB_instanced_arrays without ARB_draw_instanced.
src/gallium/drivers/i915/i915_screen.c
src/gallium/drivers/llvmpipe/lp_screen.c
src/gallium/drivers/nv50/nv50_screen.c
src/gallium/drivers/nvc0/nvc0_screen.c
src/gallium/drivers/r300/r300_screen.c
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/softpipe/sp_screen.c
src/gallium/include/pipe/p_defines.h
src/mesa/state_tracker/st_extensions.c