summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris
diff options
context:
space:
mode:
authorRhys Perry <[email protected]>2019-07-02 15:32:15 +0100
committerJason Ekstrand <[email protected]>2019-08-08 12:10:39 -0500
commitc52c54a746eee5f984a0f72061a588fb0d628afd (patch)
tree313a0a431c724995c9a9e2079c22cda437969a61 /src/gallium/drivers/iris
parent024a46a4079f947cd8760577b83af0c861451c42 (diff)
anv,i965,iris: deduplicate setting of total_shared
v5: add patch Signed-off-by: Rhys Perry <[email protected]> Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/gallium/drivers/iris')
-rw-r--r--src/gallium/drivers/iris/iris_program.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/iris/iris_program.c b/src/gallium/drivers/iris/iris_program.c
index 48b9f4397c9..b901f393fb8 100644
--- a/src/gallium/drivers/iris/iris_program.c
+++ b/src/gallium/drivers/iris/iris_program.c
@@ -1727,8 +1727,6 @@ iris_compile_cs(struct iris_context *ice,
nir_shader *nir = nir_shader_clone(mem_ctx, ish->nir);
- prog_data->total_shared = nir->info.cs.shared_size;
-
iris_setup_uniforms(compiler, mem_ctx, nir, prog_data, &system_values,
&num_system_values, &num_cbufs);