summaryrefslogtreecommitdiff
path: root/src/mesa/shader/prog_instruction.h
AgeCommit message (Collapse)Author
2009-01-06mesa: allow relative indexing into all register files and indirect dst ↵Brian Paul
register indexing (cherry picked from commit f4361540f8dd3016571523863b33481cba7a0c07) Conflicts: src/mesa/shader/prog_execute.c
2008-04-07mesa: added _mesa_free_instructions()Brian
2007-10-26Re-implement GLSL texture sampler variables.Brian
GLSL sampler variables indicate which texture unit to use for TEX instructions. Previously, this was baked into the fragment/vertex program and couldn't be readily changed once set. Now, SamplerUnits[] array indicates which texture unit is to be used for each sampler variable. These values are set with glUniform1i(). This is extra state that must be passed to the fragment/vertex program executor at runtime.
2007-08-07Naive implementation of IF/ELSE/ENDIF.michal
Handle TGSI labels correctly. Enhance MESA opcode info queries.
2007-03-28Get rid of BRK0, BRK1, CONT0, CONT1 instructions.Brian
2007-03-23Add the ability to generate programs that doesn't use condition codes.Brian
ctx->Shader.EmitCondCodes determines if we use condition codes. If not, IF statement uses first operand's X component as the condition. Added OPCODE_BRK0, OPCODE_BRK1, OPCODE_CONT0, OPCODE_CONT1 to handle the common cases of conditional break/continue.
2007-03-22updated commentBrian
2007-03-21added SWIZZLE_XYZWBrian
2007-03-21merge from masterBrian
2007-02-20added SWIZZLE_XXXX, SWIZZLE_YYYY, etcBrian
2007-02-20Merge branch 'glsl-compiler-1' of ↵Brian
git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into glsl-compiler-1
2007-02-08change BranchTarget to GLintBrian
2007-02-05additional comments for BranchTargetBrian
2007-02-05Initial support of loop and subroutine instructions.Brian
New high-level flow-control instructions, both at IR level and GPU instructions for looping and subroutines.
2007-01-31Overhaul handling of writemasks/swizzling. This fixes two problem cases:Brian
vec2 v; v.x = v.y = 1.0; // chained assignment vec4 v; v.zx = vec2(a,b); // swizzled writemask
2007-01-28noise functionsBrian
2007-01-23updated commentBrian
2007-01-23indicate which opcodes are used by Mesa GLSL, updated commentsBrian
2007-01-20Initial implementation of OPCODE_IF/ELSE/ENDIF instructions.Brian
2007-01-17Added OPCODE_INT to convert 4 floats to 4 ints.Brian
2007-01-05added Sampler field to prog_instruction structBrian
2006-12-14Split the program.[ch] files into several new files.Brian