OSDN Git Service

gallium: New cap PIPE_CAP_MAX_VERTEX_ELEMENT_SRC_OFFSET.
authorMathias Fröhlich <mathias.froehlich@web.de>
Thu, 6 Sep 2018 14:13:42 +0000 (16:13 +0200)
committerMathias Fröhlich <mathias.froehlich@web.de>
Mon, 10 Sep 2018 05:59:31 +0000 (07:59 +0200)
commit4569bc6ad084eac392411117ad1fd3bd0706af75
tree8aba38dee24807d2d2a00a44d4512103403130e1
parent240af6149477beb06fdcfc4b0295921448c0fe47
gallium: New cap PIPE_CAP_MAX_VERTEX_ELEMENT_SRC_OFFSET.

Introduce a new capability for the maximum value of
pipe_vertex_element::src_offset. Initially just every driver
backend returns the value previously set from _mesa_init_constants.
So this shall end up in no functional change.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/gallium/auxiliary/util/u_screen.c
src/gallium/docs/source/screen.rst
src/gallium/include/pipe/p_defines.h
src/mesa/state_tracker/st_extensions.c