diff options
author | Mathias Fröhlich <[email protected]> | 2018-03-25 19:16:54 +0200 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2018-03-31 06:32:12 +0200 |
commit | 4db9d83a2dd5611776577bacdbdbf483b6bea937 (patch) | |
tree | 15550207bf5e29c43ff5ac92cbb9b3313c5fa36a /src/mesa/drivers/dri/i965/brw_context.c | |
parent | fca1550550793f0a1156ad795445e2242c1fea9b (diff) |
i965: Push down the gl_vertex_array inputs into i965.
Let the i965 backend have its own gl_vertex_array array and basically
reimplement the way _vbo_draw works.
Note that brw_draw_indirect_prims calls brw_draw_prims internally
and gets its update to Array._DrawArray by this way.
Reviewed-by: Brian Paul <[email protected]>
Signed-off-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index 2e961a1ef6e..01a3e16583d 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -284,6 +284,7 @@ brw_init_driver_functions(struct brw_context *brw, functions->GetString = intel_get_string; functions->UpdateState = intel_update_state; + brw_init_draw_functions(functions); intelInitTextureFuncs(functions); intelInitTextureImageFuncs(functions); intelInitTextureCopyImageFuncs(functions); |