diff options
author | Samuel Pitoiset <[email protected]> | 2020-05-22 10:09:22 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-24 18:28:07 +0000 |
commit | 769bf48d1667dc7836d9c4af01c37005b2dd96f5 (patch) | |
tree | 29e8e3cd800c7495e4ef8c1b489349961fdaf506 | |
parent | e1fa60838edf4c6b1c01311c5fbeb28db4d29f67 (diff) |
radv: remove useless assignment in build_streamout_vertex()
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3025
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5158>
-rw-r--r-- | src/amd/vulkan/radv_nir_to_llvm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_nir_to_llvm.c b/src/amd/vulkan/radv_nir_to_llvm.c index d8b43c0ea64..4dd6ded5d02 100644 --- a/src/amd/vulkan/radv_nir_to_llvm.c +++ b/src/amd/vulkan/radv_nir_to_llvm.c @@ -2292,8 +2292,7 @@ static void build_streamout_vertex(struct radv_shader_context *ctx, for (unsigned i = 0; i < AC_LLVM_MAX_OUTPUTS; ++i) { unsigned output_usage_mask = ctx->args->shader_info->gs.output_usage_mask[i]; - uint8_t output_stream = - output_stream = ctx->args->shader_info->gs.output_streams[i]; + uint8_t output_stream = ctx->args->shader_info->gs.output_streams[i]; if (!(ctx->output_mask & (1ull << i)) || output_stream != stream) |