diff options
author | Kenneth Graunke <[email protected]> | 2013-05-24 01:29:14 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-10-31 11:04:37 -0700 |
commit | 0d7033c3940aa6aef7ab72dc31ab154b2e614b1b (patch) | |
tree | 01be4f5fc2dc6e31795e9b2e158f819946383064 /src/mesa/drivers/dri/i965/brw_context.c | |
parent | be6227d29dcf443d9b8bae66d3d2f0b946874a83 (diff) |
i965: Create a new brw_transform_feedback_object subclass.
This adds the basic driver hooks to allocate/free the brw variant.
It doesn't contain any additional information yet, but it will soon.
v2: Use the new _mesa_init_transform_feedback_object helper function
(requested by Eric and Ian).
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index 8420c656b2d..2df12ed423d 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -250,6 +250,8 @@ brw_init_driver_functions(struct brw_context *brw, functions->QuerySamplesForFormat = brw_query_samples_for_format; + functions->NewTransformFeedback = brw_new_transform_feedback; + functions->DeleteTransformFeedback = brw_delete_transform_feedback; if (brw->gen >= 7) { functions->BeginTransformFeedback = gen7_begin_transform_feedback; functions->EndTransformFeedback = gen7_end_transform_feedback; |