gallium: added PIPE_CAP_INSTANCED_DRAWING
authorBrian Paul <brianp@vmware.com>
Sun, 5 Dec 2010 20:32:59 +0000 (13:32 -0700)
committerBrian Paul <brianp@vmware.com>
Sun, 5 Dec 2010 20:32:59 +0000 (13:32 -0700)
src/gallium/docs/source/screen.rst
src/gallium/include/pipe/p_defines.h

index e3ef49c862c3f290eeb0150a49d39ce4193137bc..a62520061eabebe34975ee7ee56d482996dd1e67 100644 (file)
@@ -36,6 +36,7 @@ The integer capabilities:
   bound.
 * ``OCCLUSION_QUERY``: Whether occlusion queries are available.
 * ``TIMER_QUERY``: Whether timer queries are available.
+* ``INSTANCED_DRAWING``: indicates support for instanced drawing.
 * ``TEXTURE_SHADOW_MAP``: indicates whether the fragment shader hardware
   can do the depth texture / Z comparison operation in TEX instructions
   for shadow testing.
index dacabed891ab45c2507b01f98bb3ad897582ea2e..9f2b081e33a4a961e84af37714f0a9c1da1f7892 100644 (file)
@@ -467,6 +467,7 @@ enum pipe_cap {
    PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER,
    PIPE_CAP_DEPTH_CLAMP,
    PIPE_CAP_SHADER_STENCIL_EXPORT,
+   PIPE_CAP_INSTANCED_DRAWING,
 };
 
 /* Shader caps not specific to any single stage */