summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_context.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-01-23 00:44:44 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:05 -0800
commitbae5414594ddd181e6ab58ac87e2627562f86113 (patch)
treee4d4c8ddf9cd59ae372050dcd323b0bef185f6ff /src/gallium/drivers/iris/iris_context.c
parent0477591355d6edd3f1ad02aed907f409403bd041 (diff)
iris: initial gpu state
Diffstat (limited to 'src/gallium/drivers/iris/iris_context.c')
-rw-r--r--src/gallium/drivers/iris/iris_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_context.c b/src/gallium/drivers/iris/iris_context.c
index 42d7efd8ed4..9842ab559e2 100644
--- a/src/gallium/drivers/iris/iris_context.c
+++ b/src/gallium/drivers/iris/iris_context.c
@@ -117,6 +117,7 @@ iris_create_context(struct pipe_screen *pscreen, void *priv, unsigned flags)
iris_init_program_cache(ice);
iris_init_batch(&ice->render_batch, screen, &ice->dbg, I915_EXEC_RENDER);
+ iris_upload_initial_gpu_state(&ice->render_batch);
return ctx;
}