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:Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> (cherry picked from commit 8137df3a) [Juan A. Suarez: fix the structure usage] Signed-off-by:
Juan A. Suarez Romero <jasuarez@igalia.com>
Loading
Please register or sign in to comment