From: Ian Romanick <ian.d.roman...@intel.com> This is a "uniform" that represents the basevertex value passed to glDrawElementsBaseVertex and related functions. For hardware that does not implement a hardware register for SYSTEM_VALUE_BASE_VERTEX, passing the value via a uniform is the only way to implement the functionality.
Signed-off-by: Ian Romanick <ian.d.roman...@intel.com> Cc: "10.2" <mesa-sta...@lists.freedesktop.org> --- src/mesa/program/prog_statevars.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/program/prog_statevars.h b/src/mesa/program/prog_statevars.h index 23a9f48..47f7d53 100644 --- a/src/mesa/program/prog_statevars.h +++ b/src/mesa/program/prog_statevars.h @@ -130,6 +130,7 @@ typedef enum gl_state_index_ { STATE_FB_WPOS_Y_TRANSFORM, /**< (1, 0, -1, height) if a FBO is bound, (-1, height, 1, 0) otherwise */ STATE_ROT_MATRIX_0, /**< ATI_envmap_bumpmap, rot matrix row 0 */ STATE_ROT_MATRIX_1, /**< ATI_envmap_bumpmap, rot matrix row 1 */ + STATE_BASE_VERTEX, /**< Uniform to implement gl_BaseVertex */ STATE_INTERNAL_DRIVER /* first available state index for drivers (must be last) */ } gl_state_index; -- 1.8.1.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev