From: Samuel Pitoiset Date: Tue, 23 Jul 2019 12:53:45 +0000 (+0200) Subject: radv/gfx10: declare streamout user SGPRs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=383c2e625a69ceed593c64244408e0d097709fa0;p=mesa.git radv/gfx10: declare streamout user SGPRs Required for legacy streamout. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_nir_to_llvm.c b/src/amd/vulkan/radv_nir_to_llvm.c index cf73cdc692b..020c6d17771 100644 --- a/src/amd/vulkan/radv_nir_to_llvm.c +++ b/src/amd/vulkan/radv_nir_to_llvm.c @@ -876,9 +876,6 @@ declare_streamout_sgprs(struct radv_shader_context *ctx, gl_shader_stage stage, { int i; - if (ctx->ac.chip_class >= GFX10) - return; - /* Streamout SGPRs. */ if (ctx->shader_info->info.so.num_outputs) { assert(stage == MESA_SHADER_VERTEX ||