From 226f650d9222a191130ee673d2cb4405da972c4a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolai=20H=C3=A4hnle?= Date: Thu, 16 Nov 2017 17:02:13 +0100 Subject: [PATCH] radeonsi/gfx10: document NGG shader stages Acked-by: Bas Nieuwenhuizen --- src/gallium/drivers/radeonsi/si_shader.h | 25 ++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h index f9a754d7f0b..43d1b0d1bc1 100644 --- a/src/gallium/drivers/radeonsi/si_shader.h +++ b/src/gallium/drivers/radeonsi/si_shader.h @@ -384,16 +384,21 @@ struct si_shader_selector { /* Valid shader configurations: * - * API shaders VS | TCS | TES | GS |pass| PS - * are compiled as: | | | |thru| - * | | | | | - * Only VS & PS: VS | | | | | PS - * GFX6 - with GS: ES | | | GS | VS | PS - * - with tess: LS | HS | VS | | | PS - * - with both: LS | HS | ES | GS | VS | PS - * GFX9 - with GS: -> | | | GS | VS | PS - * - with tess: -> | HS | VS | | | PS - * - with both: -> | HS | -> | GS | VS | PS + * API shaders VS | TCS | TES | GS |pass| PS + * are compiled as: | | | |thru| + * | | | | | + * Only VS & PS: VS | | | | | PS + * GFX6 - with GS: ES | | | GS | VS | PS + * - with tess: LS | HS | VS | | | PS + * - with both: LS | HS | ES | GS | VS | PS + * GFX9 - with GS: -> | | | GS | VS | PS + * - with tess: -> | HS | VS | | | PS + * - with both: -> | HS | -> | GS | VS | PS + * | | | | | + * NGG - VS & PS: GS | | | | | PS + * (GFX10+) - with GS: -> | | | GS | | PS + * - with tess: -> | HS | GS | | | PS + * - with both: -> | HS | -> | GS | | PS * * -> = merged with the next stage */ -- 2.30.2