radv/gfx10: declare streamout user SGPRs
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 23 Jul 2019 12:53:45 +0000 (14:53 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 24 Jul 2019 06:23:30 +0000 (08:23 +0200)
Required for legacy streamout.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_nir_to_llvm.c

index cf73cdc692bc1d527673c35b409845d1f672f47d..020c6d17771cc6c659f52a43142941aa331f2529 100644 (file)
@@ -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 ||