diff options
author | Marek Olšák <[email protected]> | 2017-02-20 22:25:17 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-04-28 21:47:35 +0200 |
commit | f11ced475e341170ae29dda15d0c2b602304e89c (patch) | |
tree | 122e796eb9b1ce8670346c9df9cb85e4fdc5fee6 /src/gallium/drivers/radeonsi/si_shader.h | |
parent | 82a0e4f65888e7b4332af8a121ded22712304784 (diff) |
radeonsi/gfx9: add VS prolog support for merged LS-HS
HS input VGPRs must be reserved.
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h index 34ba1412071..2d660ac6cc1 100644 --- a/src/gallium/drivers/radeonsi/si_shader.h +++ b/src/gallium/drivers/radeonsi/si_shader.h @@ -352,6 +352,8 @@ union si_shader_part_key { struct { struct si_vs_prolog_bits states; unsigned num_input_sgprs:6; + /* For merged stages such as LS-HS, HS input VGPRs are first. */ + unsigned num_merged_next_stage_vgprs:3; unsigned last_input:4; } vs_prolog; struct { |