Mesa (master): gallium: added PIPE_CAP_INSTANCED_DRAWING
Brian Paul
brianp at kemper.freedesktop.org
Sat Jan 15 17:25:54 UTC 2011
Module: Mesa
Branch: master
Commit: d87bc015dc8b84257dc84e92cf4381c11a5086d3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d87bc015dc8b84257dc84e92cf4381c11a5086d3
Author: Brian Paul <brianp at vmware.com>
Date: Sun Dec 5 13:32:59 2010 -0700
gallium: added PIPE_CAP_INSTANCED_DRAWING
---
src/gallium/docs/source/screen.rst | 1 +
src/gallium/include/pipe/p_defines.h | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst
index e3ef49c..a625200 100644
--- a/src/gallium/docs/source/screen.rst
+++ b/src/gallium/docs/source/screen.rst
@@ -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.
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h
index dacabed..9f2b081 100644
--- a/src/gallium/include/pipe/p_defines.h
+++ b/src/gallium/include/pipe/p_defines.h
@@ -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 */
More information about the mesa-commit
mailing list