summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-04-19 03:12:55 +0200
committerMarek Olšák <[email protected]>2017-04-28 21:47:35 +0200
commitab197ad8d14aff1a0cb2be9f10445c6487b472fd (patch)
tree069f9c1f8dafc1460a7e28e290f86638b6610522 /src/gallium/drivers/radeonsi/si_shader.h
parentb2f5d031521217bb8cf8d09af0fa5c385828f2e4 (diff)
radeonsi/gfx9: add GS user SGPRs
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.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h
index 8d60ed967c5..8a779aedb0f 100644
--- a/src/gallium/drivers/radeonsi/si_shader.h
+++ b/src/gallium/drivers/radeonsi/si_shader.h
@@ -130,8 +130,19 @@ enum {
GFX9_SGPR_TCS_SHADER_BUFFERS_HI,
GFX9_TCS_NUM_USER_SGPR,
+ /* GFX9: Merged ES-GS (VS-GS or TES-GS). */
+ GFX9_SGPR_GS_CONST_BUFFERS = SI_VS_NUM_USER_SGPR,
+ GFX9_SGPR_GS_CONST_BUFFERS_HI,
+ GFX9_SGPR_GS_SAMPLERS,
+ GFX9_SGPR_GS_SAMPLERS_HI,
+ GFX9_SGPR_GS_IMAGES,
+ GFX9_SGPR_GS_IMAGES_HI,
+ GFX9_SGPR_GS_SHADER_BUFFERS,
+ GFX9_SGPR_GS_SHADER_BUFFERS_HI,
+ GFX9_GS_NUM_USER_SGPR,
+
/* GS limits */
- SI_GS_NUM_USER_SGPR = SI_NUM_RESOURCE_SGPRS,
+ GFX6_GS_NUM_USER_SGPR = SI_NUM_RESOURCE_SGPRS,
SI_GSCOPY_NUM_USER_SGPR = SI_SGPR_RW_BUFFERS_HI + 1,
/* PS only */