Skip to content
Snippets Groups Projects
Commit cd0402c5 authored by Samuel Pitoiset's avatar Samuel Pitoiset Committed by Dylan Baker
Browse files

radv: fix allocating number of user sgprs if streamout is used


streamout_buffers is assigned after that function, so the previous
fix was completely wrong. This probably fix something when streamout
buffers and push constants are used/inlined in the same shader.

Fixes: 378e2d24 ("radv: fix computing number of user SGPRs for streamout buffers")
Signed-off-by: default avatarSamuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: default avatarBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
(cherry picked from commit 8137df3a)
[Juan A. Suarez: fix the structure usage]
Signed-off-by: default avatarJuan A. Suarez Romero <jasuarez@igalia.com>
parent 110dc21e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment