summaryrefslogtreecommitdiff
path: root/src/mesa/shader/prog_instruction.h
AgeCommit message (Collapse)Author
2008-05-16Fix DRI buildBrian Paul
2008-05-14Updated GLSL uniform/sampler handling from gallium-0.1 branchBrian Paul
Previously, the shader linker combined the uniforms used by the vertex and fragment shaders into a combined set of uniforms. This made the implementation of glUniform*() simple, but was rather inefficient otherwise. Now each shader gets its own set of uniforms (no more modelview matrix showing up in the fragment shader uniforms, for example). cherry-picked by hand from gallium-0.1 branch
2008-05-14sync up with gallium-0.1 changesBrian Paul
New _mesa_num_inst_dst_regs(), _mesa_is_tex_instruction() functions
2008-05-14mesa: added _mesa_free_instructions()Brian Paul
cherry-picked from gallium-0.1
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