diff options
author | Marek Olšák <[email protected]> | 2017-04-22 20:07:20 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-04-28 21:47:35 +0200 |
commit | eb35238ffe55eb27930419acf0e145281ea3db9c (patch) | |
tree | 9f8bb75000f76f97820e91c92319f6ffd7fd996d /src/gallium/drivers/radeonsi/si_shader.h | |
parent | 0af00f179ec3303c2bf2bccbfe80703b96b4500d (diff) |
radeonsi/gfx9: move RW_BUFFERS to s[0:1] for merged shaders
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h index 299cbab54c9..ad72a3d3899 100644 --- a/src/gallium/drivers/radeonsi/si_shader.h +++ b/src/gallium/drivers/radeonsi/si_shader.h @@ -80,6 +80,9 @@ struct ac_shader_binary; /* SGPR user data indices */ enum { + /* GFX9 merged shaders have RW_BUFFERS among the first 8 system SGPRs, + * and these two are used for other purposes. + */ SI_SGPR_RW_BUFFERS, /* rings (& stream-out, VS only) */ SI_SGPR_RW_BUFFERS_HI, SI_SGPR_CONST_BUFFERS, |