diff options
author | Kenneth Graunke <[email protected]> | 2013-06-25 22:29:19 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-08-19 13:16:59 -0700 |
commit | 2b7f876a6ad62ad9a93c0df15cb4be1fcc61d380 (patch) | |
tree | 3b2657d74435d24704b4a1584d4ef34421ab349e /src/mesa/drivers/dri/i965/brw_vtbl.c | |
parent | decc708c7c3ab53922cf3ac94cd74231196fd0cb (diff) |
i965: Make upload_sampler_state_table a virtual function.
This allows us to coalesce the brw_samplers and gen7_samplers atoms.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vtbl.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vtbl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vtbl.c b/src/mesa/drivers/dri/i965/brw_vtbl.c index 9cddbc28fb6..aee88e0ea4f 100644 --- a/src/mesa/drivers/dri/i965/brw_vtbl.c +++ b/src/mesa/drivers/dri/i965/brw_vtbl.c @@ -161,9 +161,11 @@ void brwInitVtbl( struct brw_context *brw ) assert(brw->gen >= 4); if (brw->gen >= 7) { gen7_init_vtable_surface_functions(brw); + gen7_init_vtable_sampler_functions(brw); brw->vtbl.emit_depth_stencil_hiz = gen7_emit_depth_stencil_hiz; } else if (brw->gen >= 4) { gen4_init_vtable_surface_functions(brw); + gen4_init_vtable_sampler_functions(brw); brw->vtbl.emit_depth_stencil_hiz = brw_emit_depth_stencil_hiz; } } |