aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader_internal.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-11-09 14:43:34 +1100
committerTimothy Arceri <[email protected]>2017-11-12 11:08:26 +1100
commitdc42a2177c852f7737452408586f3da7cb7682f9 (patch)
tree8aeca69d1d946beaf2b526fbfbb7de9734b92757 /src/gallium/drivers/radeonsi/si_shader_internal.h
parent8c9f3f2c46653a94be9ded38763f81da20183e08 (diff)
radeonsi: rework gs_vtx_offset handling
This simplifies things a bit and will enable it to work with the common NIR -> LLVM code. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader_internal.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader_internal.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader_internal.h b/src/gallium/drivers/radeonsi/si_shader_internal.h
index b249bf961ab..7ff8815b92f 100644
--- a/src/gallium/drivers/radeonsi/si_shader_internal.h
+++ b/src/gallium/drivers/radeonsi/si_shader_internal.h
@@ -182,13 +182,8 @@ struct si_shader_context {
/* API GS */
int param_gs2vs_offset;
int param_gs_wave_id; /* GFX6 */
- int param_gs_vtx0_offset; /* in dwords (GFX6) */
- int param_gs_vtx1_offset; /* in dwords (GFX6) */
+ LLVMValueRef gs_vtx_offset[6]; /* in dwords (GFX6) */
int param_gs_prim_id;
- int param_gs_vtx2_offset; /* in dwords (GFX6) */
- int param_gs_vtx3_offset; /* in dwords (GFX6) */
- int param_gs_vtx4_offset; /* in dwords (GFX6) */
- int param_gs_vtx5_offset; /* in dwords (GFX6) */
int param_gs_instance_id;
int param_gs_vtx01_offset; /* in dwords (GFX9) */
int param_gs_vtx23_offset; /* in dwords (GFX9) */