Re: [Mesa-dev] [RFC: PATCH 4/4] i965: Refactor all upload_stage_prog functions up into brw_upload_programs

2015-05-15 Thread Carl Worth
Yes. That patch was severely broken in several ways. In its place, here is a pair of patches intending to do the same thing in two steps. Thanks to Ken for helpful review and guidance to get to this point. At this point, I'm quite confident that the logic of the code is undisturbed by the

[Mesa-dev] [RFC: PATCH 4/4] i965: Refactor all upload_stage_prog functions up into brw_upload_programs

2015-03-20 Thread Carl Worth
This completes the refactoring being prepared for in the previous commits. The function bodies of all brw_upadload_stage_prog functions are pulled up into brw_upload_programs where there are unified with loops and switch statements. The purpose of this refactoring is to allow for new code to be