summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_pipeline.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2018-02-20 14:03:32 +1000
committerDave Airlie <[email protected]>2018-03-16 05:23:21 +0000
commit9d0d806332a32cd60b4f53fe805650751001d169 (patch)
tree5debd540a4f4fa7fae4355d6a99c8df538967fea /src/amd/vulkan/radv_pipeline.c
parent6f051549c30ecd8340028025f9c947d1ad5a04ce (diff)
radv: drop geometry stride user sgpr.
This removes the other geometry specific user sgpr. Reviewed-by: Samuel Pitoiset <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_pipeline.c')
-rw-r--r--src/amd/vulkan/radv_pipeline.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c
index b6ca2db6916..52a6d23718e 100644
--- a/src/amd/vulkan/radv_pipeline.c
+++ b/src/amd/vulkan/radv_pipeline.c
@@ -2617,15 +2617,6 @@ radv_pipeline_generate_geometry_shader(struct radeon_winsys_cs *cs,
}
radv_pipeline_generate_hw_vs(cs, pipeline, pipeline->gs_copy_shader);
-
- struct radv_userdata_info *loc = radv_lookup_user_sgpr(pipeline, MESA_SHADER_GEOMETRY,
- AC_UD_GS_VS_RING_STRIDE_ENTRIES);
- if (loc->sgpr_idx != -1) {
- uint32_t stride = gs->info.gs.max_gsvs_emit_size;
- stride = S_008F04_STRIDE(stride);
- radeon_set_sh_reg_seq(cs, R_00B230_SPI_SHADER_USER_DATA_GS_0 + loc->sgpr_idx * 4, 1);
- radeon_emit(cs, stride);
- }
}
static uint32_t offset_to_ps_input(uint32_t offset, bool flat_shade)