summaryrefslogtreecommitdiff
path: root/src/glsl/ir_hv_accept.cpp
AgeCommit message (Collapse)Author
2011-01-31glsl: Change texel offsets to a single vector rvalue.Kenneth Graunke
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.
2010-09-03glsl2: Set a flag when visiting the assignee of an assignmentIan Romanick
2010-08-05glsl2: Make the HV actually call ir_texture's visit_leave.Eric Anholt
2010-07-19exec_list: Fix foreach_list_safe.Kenneth Graunke
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.
2010-07-09glsl2: Use new foreach_list_safe abstraction.Kenneth Graunke
2010-07-07glsl2: Don't forget to walk the parameters to a function in the hv.Eric Anholt
Fixes segfaults from use after free after the steal of ir nodes and free of the compile context.
2010-07-01glsl2: Add a pass to convert mod(a, b) to b * fract(a/b).Eric Anholt
This is used by the Mesa IR backend to implement mod, fixing glsl-fs-mod.
2010-06-30glsl2: Define new ir_discard instruction.Kenneth Graunke
2010-06-24glsl2: Move the compiler to the subdirectory it will live in in Mesa.Eric Anholt