From: Neil Roberts Date: Wed, 17 Jun 2020 13:22:32 +0000 (+0200) Subject: v3d: Let scheduler know GS doesn’t have shared I/O memory X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=053df9bd8f24ef4576cb19eacb3c273bf1ed9e68;p=mesa.git v3d: Let scheduler know GS doesn’t have shared I/O memory Unlike the vertex shaders, the memory for inputs and outputs is stored in separate segments so the scheduler doesn’t need to serialise them. Reviewed-by: Eric Anholt Reviewed-by: Iago Toral Quiroga Part-of: --- diff --git a/src/broadcom/compiler/vir.c b/src/broadcom/compiler/vir.c index 4c9e99cfd77..ff2e0290122 100644 --- a/src/broadcom/compiler/vir.c +++ b/src/broadcom/compiler/vir.c @@ -1083,7 +1083,8 @@ uint64_t *v3d_compile(const struct v3d_compiler *compiler, */ .stages_with_shared_io_memory = (((1 << MESA_ALL_SHADER_STAGES) - 1) & - ~(1 << MESA_SHADER_FRAGMENT)), + ~((1 << MESA_SHADER_FRAGMENT) | + (1 << MESA_SHADER_GEOMETRY))), }; NIR_PASS_V(c->s, nir_schedule, &schedule_options);