summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_compute.c
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2016-03-19 13:56:29 +0100
committerBas Nieuwenhuizen <[email protected]>2016-04-19 18:10:31 +0200
commite764ee13ae21e3c1dbda24daeb2d08c5e7c81871 (patch)
tree091fdf5c1b7aeac9715ddb9ecf8fb556561723a1 /src/gallium/drivers/radeonsi/si_compute.c
parent061ce9399a08f3edd4f5af16afd36bb14d58c864 (diff)
radeonsi: split setting graphics and compute descriptors
Signed-off-by: Bas Nieuwenhuizen <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_compute.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_compute.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_compute.c b/src/gallium/drivers/radeonsi/si_compute.c
index 269cb201db4..921b62cb5a0 100644
--- a/src/gallium/drivers/radeonsi/si_compute.c
+++ b/src/gallium/drivers/radeonsi/si_compute.c
@@ -452,6 +452,9 @@ static void si_launch_grid(
if (!si_switch_compute_shader(sctx, program, &program->shader, info->pc))
return;
+ si_upload_compute_shader_descriptors(sctx);
+ si_emit_compute_shader_userdata(sctx);
+
if (si_is_atom_dirty(sctx, sctx->atoms.s.render_cond)) {
sctx->atoms.s.render_cond->emit(&sctx->b,
sctx->atoms.s.render_cond);