Age | Commit message (Collapse) | Author |
|
Having these as actual integer values makes it difficult to implement
the texture*Offset built-in functions, since the offset is actually a
function parameter (which doesn't have a constant value).
The original rationale was that some hardware needs these offset baked
into the instruction opcode. However, at least i965 should be able to
support non-constant offsets. Others should be able to rely on inlining
and constant propagation.
|
|
|
|
|
|
It now works correctly when nodes are removed, as it was originally
intended to do; it no longer processes nodes added to the list before
the current node, nor those added immediately after the current node.
This matches the behavior of Linux's list_for_each_safe.
|
|
|
|
Fixes segfaults from use after free after the steal of ir nodes and
free of the compile context.
|
|
This is used by the Mesa IR backend to implement mod, fixing glsl-fs-mod.
|
|
|
|
|