summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp
AgeCommit message (Collapse)Author
2011-01-31Convert everything from the talloc API to the ralloc API.Kenneth Graunke
2010-10-11i965: Move FS backend structures to a header.Eric Anholt
It's time to start splitting some of this up.
2010-09-29i965: Fix use of undefined mem_ctx in vector splitting.Eric Anholt
2010-09-27i965: Fix vector splitting RHS channel selection with sparse writemasks.Eric Anholt
Fixes: glsl-fs-all-02 glsl-fs-dot-vec2
2010-09-27i965: Remove swizzling of assignment to vector-splitting single-channel LHS.Eric Anholt
We'd end up reading some non-x component of the float RHS. +53 piglits.
2010-09-22i965: When splitting vector variable assignment, ignore unset channels.Eric Anholt
The new checks for sanity in ir_assignment creation got angry about this write_mask == 0. Fixes: glsl-fs-dot-vec2. glsl-fs-atan-2 glsl-fs-dot-vec2
2010-09-22i965: Fix the vector/expression splitting for the write_mask change.Eric Anholt
+113 piglits.
2010-08-27i965: Fix swizzling in vector splitting for the new FS backend.Eric Anholt
We weren't smearing a component of a split RHS out to reach an unsplit LHS's writemask, so gl_FragColor (always unsplit) would often get uninitialized values. Fixes: glsl-algebraic-add-add-1 (and probably many others).
2010-08-26i965: Add new pass to split vectors into scalar variablesEric Anholt
Combined with the previous pass, this lets other optimization passes do their work thanks to ir_tree_grafting. Still have regression in instruction count with INTEL_NEW_FS, but register count is even better.