diff options
author | Mathias Fröhlich <[email protected]> | 2018-02-07 08:59:13 +0100 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2018-02-23 05:34:07 +0100 |
commit | 8a3a4b6fae75905088ce4fcb42fc50cb09763a10 (patch) | |
tree | 3bbaec8396dadb10097941ede8f8c129a6adb634 /src/mesa/vbo/vbo_exec.h | |
parent | c757e416ce9547d3335f350fc02c0261d9e006de (diff) |
vbo: Make use of _DrawVAO from immediate mode draw
Finally use an internal VAO to execute immediate mode draws. Avoid
duplicate state validation for immediate mode draws. Remove client arrays
previously used exclusively for immediate mode draws.
Signed-off-by: Mathias Fröhlich <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_exec.h')
-rw-r--r-- | src/mesa/vbo/vbo_exec.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/vbo/vbo_exec.h b/src/mesa/vbo/vbo_exec.h index b00045c7c86..07ab5cc837b 100644 --- a/src/mesa/vbo/vbo_exec.h +++ b/src/mesa/vbo/vbo_exec.h @@ -101,14 +101,6 @@ struct vbo_exec_context /** pointers into the current 'vertex' array, declared above */ fi_type *attrptr[VBO_ATTRIB_MAX]; - - struct gl_vertex_array arrays[VERT_ATTRIB_MAX]; - - /* According to program mode, the values above plus current - * values are squashed down to the 32 attributes passed to the - * vertex program below: - */ - const struct gl_vertex_array *inputs[VERT_ATTRIB_MAX]; } vtx; struct { |