diff options
author | Samuel Pitoiset <[email protected]> | 2019-07-05 18:14:24 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2019-07-07 17:51:32 +0200 |
commit | ce3b5d4c170a730deac2024e489e01f50a2123f1 (patch) | |
tree | 6e4957529acaca62d32f12573b7500be411e1d08 /src | |
parent | 352365c5e2d264ef27b5e594f514d4c2fd11ba0c (diff) |
radv/gfx10: do not declare streamout SGPRS
Streamout is completely different on GFX10.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/vulkan/radv_nir_to_llvm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_nir_to_llvm.c b/src/amd/vulkan/radv_nir_to_llvm.c index 84ab586caac..2bc61b18655 100644 --- a/src/amd/vulkan/radv_nir_to_llvm.c +++ b/src/amd/vulkan/radv_nir_to_llvm.c @@ -837,6 +837,9 @@ 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 || |