gallium: added PIPE_CAP_INSTANCED_DRAWING

This commit is contained in:
Brian Paul
2010-12-05 13:32:59 -07:00
parent 903ead0b26
commit d87bc015dc
2 changed files with 2 additions and 0 deletions

View File

@@ -36,6 +36,7 @@ The integer capabilities:
bound. bound.
* ``OCCLUSION_QUERY``: Whether occlusion queries are available. * ``OCCLUSION_QUERY``: Whether occlusion queries are available.
* ``TIMER_QUERY``: Whether timer 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 * ``TEXTURE_SHADOW_MAP``: indicates whether the fragment shader hardware
can do the depth texture / Z comparison operation in TEX instructions can do the depth texture / Z comparison operation in TEX instructions
for shadow testing. for shadow testing.

View File

@@ -467,6 +467,7 @@ enum pipe_cap {
PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER, PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER,
PIPE_CAP_DEPTH_CLAMP, PIPE_CAP_DEPTH_CLAMP,
PIPE_CAP_SHADER_STENCIL_EXPORT, PIPE_CAP_SHADER_STENCIL_EXPORT,
PIPE_CAP_INSTANCED_DRAWING,
}; };
/* Shader caps not specific to any single stage */ /* Shader caps not specific to any single stage */