diff options
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index f217abd1501..8f392d640fe 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -5242,7 +5242,7 @@ static bool si_shader_binary_open(struct si_screen *screen, } if (sel && shader->key.as_ngg) { - if (sel->so.num_outputs) { + if (sel->type != PIPE_SHADER_GEOMETRY && sel->so.num_outputs) { unsigned esgs_vertex_bytes = 4 * (4 * sel->info.num_outputs + 1); esgs_ring_size = MAX2(esgs_ring_size, shader->ngg.max_out_verts * esgs_vertex_bytes); |