summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_job.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2015-06-20 15:30:04 -0700
committerEric Anholt <[email protected]>2015-12-08 09:49:53 -0800
commite7c8ad0a6c8ba263f29b7c3c5120bc6beabeba7b (patch)
tree3da2bda8dbd1a2c67b65bccea7ac2020960d0190 /src/gallium/drivers/vc4/vc4_job.c
parent568d3a8e32109200cc12549d18118b7660be628b (diff)
vc4: Add kernel RCL support for MSAA rendering.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_job.c')
-rw-r--r--src/gallium/drivers/vc4/vc4_job.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_job.c b/src/gallium/drivers/vc4/vc4_job.c
index 41c2c5fb205..cde24dc074c 100644
--- a/src/gallium/drivers/vc4/vc4_job.c
+++ b/src/gallium/drivers/vc4/vc4_job.c
@@ -161,6 +161,8 @@ vc4_job_submit(struct vc4_context *vc4)
vc4->zs_read, true, false);
vc4_submit_setup_rcl_surface(vc4, &submit.zs_write,
vc4->zs_write, true, true);
+ submit.msaa_color_write.hindex = ~0;
+ submit.msaa_zs_write.hindex = ~0;
submit.bo_handles = (uintptr_t)vc4->bo_handles.base;
submit.bo_handle_count = cl_offset(&vc4->bo_handles) / 4;