summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_pipeline.c
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/intel/vulkan/anv_pipeline.c
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/intel/vulkan/anv_pipeline.c')
-rw-r--r--src/intel/vulkan/anv_pipeline.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c
index c6fad1334f4..87160aba802 100644
--- a/src/intel/vulkan/anv_pipeline.c
+++ b/src/intel/vulkan/anv_pipeline.c
@@ -1443,8 +1443,6 @@ anv_pipeline_compile_cs(struct anv_pipeline *pipeline,
NIR_PASS_V(stage.nir, nir_lower_explicit_io,
nir_var_mem_shared, nir_address_format_32bit_offset);
- stage.prog_data.cs.base.total_shared = stage.nir->info.cs.shared_size;
-
const unsigned *shader_code =
brw_compile_cs(compiler, pipeline->device, mem_ctx, &stage.key.cs,
&stage.prog_data.cs, stage.nir, -1, NULL);