Re: [Mesa-dev] [PATCH 09/14] i965: Move more code into codegen-branch of the fs_visitor::run() if statement

2014-10-29 Thread Kristian Høgsberg
On Tue, Oct 28, 2014 at 4:36 PM, Matt Turner wrote: > On Tue, Oct 28, 2014 at 3:17 PM, Kristian Høgsberg wrote: >> These last few operations all only apply when we've actually generated code, >> optimized and allocated registers. The dummy and the repclear shaders don't >> touch uncompressed_sta

Re: [Mesa-dev] [PATCH 09/14] i965: Move more code into codegen-branch of the fs_visitor::run() if statement

2014-10-28 Thread Matt Turner
On Tue, Oct 28, 2014 at 3:17 PM, Kristian Høgsberg wrote: > These last few operations all only apply when we've actually generated code, > optimized and allocated registers. The dummy and the repclear shaders don't > touch uncompressed_stack, don't need the gen4 send workaround, and don't > spill

[Mesa-dev] [PATCH 09/14] i965: Move more code into codegen-branch of the fs_visitor::run() if statement

2014-10-28 Thread Kristian Høgsberg
These last few operations all only apply when we've actually generated code, optimized and allocated registers. The dummy and the repclear shaders don't touch uncompressed_stack, don't need the gen4 send workaround, and don't spill. This means we can move these lines into the else-branch, which w