From 4dd86631f41ecee03c18cbc6759ef00c25d081cd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolai=20H=C3=A4hnle?= Date: Fri, 14 Jul 2017 14:33:49 +0200 Subject: [PATCH] radeonsi: update a comment for merged shaders MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed: Marek Olšák --- src/gallium/drivers/radeonsi/si_shader.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 98f2be76ddd..4a36923ae8c 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -7364,7 +7364,7 @@ int si_shader_create(struct si_screen *sscreen, LLVMTargetMachineRef tm, if (r) return r; } else { - /* The shader consists of 2-3 parts: + /* The shader consists of several parts: * * - the middle part is the user shader, it has 1 variant only * and it was compiled during the creation of the shader @@ -7373,6 +7373,10 @@ int si_shader_create(struct si_screen *sscreen, LLVMTargetMachineRef tm, * - the epilog part is inserted at the end * * The prolog and epilog have many (but simple) variants. + * + * Starting with gfx9, geometry and tessellation control + * shaders also contain the prolog and user shader parts of + * the previous shader stage. */ /* Copy the compiled TGSI shader data over. */ -- 2.30.2