diff options
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vtbl.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vtbl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vtbl.c b/src/mesa/drivers/dri/i965/brw_vtbl.c index ddf75c0ec79..7c40f278b8a 100644 --- a/src/mesa/drivers/dri/i965/brw_vtbl.c +++ b/src/mesa/drivers/dri/i965/brw_vtbl.c @@ -268,4 +268,10 @@ void brwInitVtbl( struct brw_context *brw ) brw->intel.vtbl.hiz_resolve_hizbuffer = brw_hiz_resolve_noop; brw->intel.vtbl.hiz_resolve_depthbuffer = brw_hiz_resolve_noop; } + + if (brw->intel.gen >= 7) { + gen7_init_vtable_surface_functions(brw); + } else if (brw->intel.gen >= 4) { + gen4_init_vtable_surface_functions(brw); + } } |