Skip to content

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

Samuel Pitoiset requested to merge hakzsam/mesa:radv_sgpr_xfb_fix into master

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

Merge request reports

Loading