aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_batch.h
diff options
context:
space:
mode:
authorMike Blumenkrantz <[email protected]>2020-03-30 10:37:29 -0400
committerMarge Bot <[email protected]>2020-04-29 16:59:45 +0000
commit91375f13ce05ab637aa6275dbb7bcb8a9c4cfdb9 (patch)
tree87624a36470e388aaad279e634739a04e6d7be63 /src/gallium/drivers/iris/iris_batch.h
parente581ddeeeecf9475d0634794ee126096d0f23135 (diff)
iris: move iris_vtable to iris_screen
instead of inlining this into every context, now a struct is used in the screen struct to reduce memory usage and simplify a couple of the methods Closes: https://gitlab.freedesktop.org/kwg/mesa/-/issues/6 Reviewed-by: Kenneth Graunke <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4376>
Diffstat (limited to 'src/gallium/drivers/iris/iris_batch.h')
-rw-r--r--src/gallium/drivers/iris/iris_batch.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/iris/iris_batch.h b/src/gallium/drivers/iris/iris_batch.h
index 056a2469191..19ad3959741 100644
--- a/src/gallium/drivers/iris/iris_batch.h
+++ b/src/gallium/drivers/iris/iris_batch.h
@@ -62,7 +62,6 @@ struct iris_address {
struct iris_batch {
struct iris_screen *screen;
- struct iris_vtable *vtbl;
struct pipe_debug_callback *dbg;
struct pipe_device_reset_callback *reset;
@@ -144,7 +143,6 @@ struct iris_batch {
void iris_init_batch(struct iris_batch *batch,
struct iris_screen *screen,
- struct iris_vtable *vtbl,
struct pipe_debug_callback *dbg,
struct pipe_device_reset_callback *reset,
struct hash_table_u64 *state_sizes,