summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Switch to using LLVM builder.Zack Rusin2007-10-303-253/+217
| | | | | Instead of creating all the instructions by hand, switching to using LLVMBuilder.
* Refactor vector extraction.Zack Rusin2007-10-302-214/+89
|
* Export true C based builtins to a file of its own.Zack Rusin2007-10-303-176/+215
|
* Rename to better reflect what it's really doing.Zack Rusin2007-10-301-1/+1
|
* Code cleanups.Zack Rusin2007-10-302-17/+22
|
* Cleanup constant vector handling a bit.Zack Rusin2007-10-303-32/+22
|
* Dump only relevant functions when in the debugging output.Zack Rusin2007-10-301-7/+13
|
* Change the way we handle temporaries in LLVM translation.Zack Rusin2007-10-307-350/+376
| | | | | | | TGSI uses TEMP, among others, as a way of passing arguments from one function to another. Instead of trying to figure out which temp's a function needs and trying to dynamically adjust its signature just pass the whole array of temporaries to them.
* Enable immediates in TGSI and work with them in LLVM code.Zack Rusin2007-10-303-2/+37
| | | | | Enables immediates by default in the TGSI translation code and adds code handling it in llvm tgsi translation.
* Remove conditionals from the makefiles.Zack Rusin2007-10-293-2/+5
|
* Refactor the LLVM code a bit.Zack Rusin2007-10-292-21/+78
| | | | | | Move the CPU vertex shader execution code to the draw module, remove traces of LLVM from the state tracker, abstract execution engine for the purposes of the draw module.
* Make sure the swizzling vector is being recreated for each function. This makesZack Rusin2007-10-292-5/+5
| | | | GLSL bricks work.
* Hold a stack of temporaries so that we can redeclare themZack Rusin2007-10-263-1/+27
| | | | for all defined functions. Fixes crashes in function calls.
* Get basic function calls working in the shaders.Zack Rusin2007-10-266-25/+190
|
* Fix swizzle fetching in tgsi_util_get_full_src_register_extswizzle. ShortenZack Rusin2007-10-262-60/+24
| | | | the swizzle coding in LLVM compilation using it and fix some warnings.
* Make ret part of the instruction block instead of implicitelyZack Rusin2007-10-263-2/+7
| | | | closing at the end of parsing.
* Implement loopsZack Rusin2007-10-253-5/+91
|
* Fix nested swizzles. Actually fetch the destination contentsZack Rusin2007-10-252-4/+9
| | | | instead of input.
* Fix nested conditionalsZack Rusin2007-10-252-12/+2
|
* Implement else ops.Zack Rusin2007-10-253-2/+18
|
* Make branching work :) Simply allow output variables as validZack Rusin2007-10-243-2/+31
| | | | operand inputs when they've been assigned already.
* Simplify branch handling. Prepare for proper decleration extraction.Zack Rusin2007-10-244-70/+38
|
* Add copyright headers and do some cleanups.Zack Rusin2007-10-247-23/+247
|
* Remove the silly function and remove the bogus comment.Zack Rusin2007-10-241-58/+50
|
* Cleanup some code.Zack Rusin2007-10-242-2/+8
|
* Implement arl, lerp opcodes and do a first stab at if/endifZack Rusin2007-10-245-135/+388
| | | | handling and branching support.
* Implement cross product and abs opcodeZack Rusin2007-10-243-2/+65
|
* Implement extended swizzling.Zack Rusin2007-10-243-6/+50
|
* Implement SGE and SLTZack Rusin2007-10-243-2/+65
|
* Introduce linux-llvm target. Remove the llvm code from the default build for ↵Zack Rusin2007-10-242-18/+43
| | | | | | now. Cleanup some of the debugging output.
* Align the load/stores. Reduce the amount of debugging output.Zack Rusin2007-10-247-973/+659
|
* Cleanup some of the debugging output codeZack Rusin2007-10-244-68/+8
|
* Make lit work but in a very lame way - will have to be rewritten.Zack Rusin2007-10-243-10/+3
|
* Muchos fixos. gears kinda works. and cases don't crash.Zack Rusin2007-10-248-777/+1147
| | | | glorious
* implement min and maxZack Rusin2007-10-243-2/+110
|
* Fix some warnings and implement lg2Zack Rusin2007-10-244-9/+875
|
* Implement frc and floorZack Rusin2007-10-243-3/+62
|
* Implement ex2 opcodeZack Rusin2007-10-243-1/+13
|
* Implement dst opcodeZack Rusin2007-10-243-1/+26
|
* Implement dph opcodeZack Rusin2007-10-243-1/+31
|
* Implement dot4 opcodeZack Rusin2007-10-243-5/+35
|
* Implement pow/rcp and sub opcodesZack Rusin2007-10-243-5/+91
|
* Add the "add" opcode and assert one vp if an opcode isn't supportedZack Rusin2007-10-241-1/+9
|
* Refactor the tgsi->llvm storage translatorZack Rusin2007-10-243-42/+70
|
* Implement basic opcode translation and storage translation.Zack Rusin2007-10-244-26/+348
|
* Draw first triangle. Start on the llvm builder.Zack Rusin2007-10-242-22/+165
|
* Cleanup some of the testing code. Implement first pass at actuallyZack Rusin2007-10-243-14/+206
| | | | running shaders in llvm.
* Execution engine is a singleton, for now keep it in the pipe.Zack Rusin2007-10-242-11/+24
|
* Generate the base shader.Zack Rusin2007-10-243-45/+191
|
* Implement the conversion and do the initial execution pass.Zack Rusin2007-10-243-2/+100
|