diff options
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/vulkan/anv_pipeline.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c index abe93a50af8..56d79a02d79 100644 --- a/src/intel/vulkan/anv_pipeline.c +++ b/src/intel/vulkan/anv_pipeline.c @@ -366,10 +366,6 @@ anv_pipeline_compile(struct anv_pipeline *pipeline, if (pipeline->layout) anv_nir_apply_pipeline_layout(pipeline, nir, prog_data, map); - /* Finish the optimization and compilation process */ - if (nir->stage == MESA_SHADER_COMPUTE) - brw_nir_lower_shared(nir); - /* nir_lower_io will only handle the push constants; we need to set this * to the full number of possible uniforms. */ @@ -775,8 +771,6 @@ anv_pipeline_compile_cs(struct anv_pipeline *pipeline, anv_fill_binding_table(&prog_data.base, 1); - prog_data.base.total_shared = nir->num_shared; - void *mem_ctx = ralloc_context(NULL); if (module->nir == NULL) |