summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/llvm
AgeCommit message (Collapse)Author
2008-01-24change the name of the shaders to reflect what they do.Zack Rusin
remove stale code and do some general cleanups.
2008-01-04llvm: we need custom rules so had to redo the build a little bitZack Rusin
also don't use sse when llvm is enabled
2008-01-04llvm: update llvm sources the latest svnZack Rusin
2007-12-11Adopt llvm to some of the latest changes.Zack Rusin
2007-12-11Redo the fragment program examples to match vp'sZack Rusin
we just load text files instead of compiling tons of small binaries
2007-12-11Redo the way we pass arguments to the llvm.Zack Rusin
simply pass aligned arrays, they should cast to vectors without any problems. also remove unnecessary memset
2007-12-11Implement kilp and make it workZack Rusin
2007-12-11Rewrite argument passing to prepare for handling of the kil instruction.Zack Rusin
Pass the inputs/outputs pointer in the structure instead of infinitely expanding arguments to the functions.
2007-12-11gallium: remove set_sampler_units interfaceKeith Whitwell
The effect of this mapping can be acheived by the state tracker and setting up the pipe texture state pointers to incorporate its affects.
2007-12-06Hide texture layout details from the state tracker.Michel Dänzer
pipe->get_tex_surface() has to be used for access to texture image data.
2007-11-02Implement sin opcode.Zack Rusin
Seems to have similar rounding border problems as cos.
2007-11-02Implement scs opcodeZack Rusin
2007-11-02Implement COS and CMP opcode.Zack Rusin
There's some weird rounding issue with COS that I can't figure out.
2007-11-02Get fragment shaders working on top of LLVM.Zack Rusin
Redo the entry points, get the output propagation correctly, interpolate the inputs before feeding into llvm for now.
2007-11-02Change the fragment shader signature to better match actualZack Rusin
arguments that we need there.
2007-11-02Add basic entry points for fragment shaders.Zack Rusin
2007-11-02Renaming llvmtgsi to gallivm. Taking first steps on the way to supportingZack Rusin
fragment shaders through llvm.
2007-10-30Switch to using LLVM builder.Zack Rusin
Instead of creating all the instructions by hand, switching to using LLVMBuilder.
2007-10-30Refactor vector extraction.Zack Rusin
2007-10-30Export true C based builtins to a file of its own.Zack Rusin
2007-10-30Rename to better reflect what it's really doing.Zack Rusin
2007-10-30Code cleanups.Zack Rusin
2007-10-30Cleanup constant vector handling a bit.Zack Rusin
2007-10-30Dump only relevant functions when in the debugging output.Zack Rusin
2007-10-30Change the way we handle temporaries in LLVM translation.Zack Rusin
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.
2007-10-30Enable immediates in TGSI and work with them in LLVM code.Zack Rusin
Enables immediates by default in the TGSI translation code and adds code handling it in llvm tgsi translation.
2007-10-29Remove conditionals from the makefiles.Zack Rusin
2007-10-29Refactor the LLVM code a bit.Zack Rusin
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.
2007-10-29Make sure the swizzling vector is being recreated for each function. This makesZack Rusin
GLSL bricks work.
2007-10-26Hold a stack of temporaries so that we can redeclare themZack Rusin
for all defined functions. Fixes crashes in function calls.
2007-10-26Get basic function calls working in the shaders.Zack Rusin
2007-10-26Fix swizzle fetching in tgsi_util_get_full_src_register_extswizzle. ShortenZack Rusin
the swizzle coding in LLVM compilation using it and fix some warnings.
2007-10-26Make ret part of the instruction block instead of implicitelyZack Rusin
closing at the end of parsing.
2007-10-25Implement loopsZack Rusin
2007-10-25Fix nested swizzles. Actually fetch the destination contentsZack Rusin
instead of input.
2007-10-25Fix nested conditionalsZack Rusin
2007-10-25Implement else ops.Zack Rusin
2007-10-24Make branching work :) Simply allow output variables as validZack Rusin
operand inputs when they've been assigned already.
2007-10-24Simplify branch handling. Prepare for proper decleration extraction.Zack Rusin
2007-10-24Add copyright headers and do some cleanups.Zack Rusin
2007-10-24Remove the silly function and remove the bogus comment.Zack Rusin
2007-10-24Cleanup some code.Zack Rusin
2007-10-24Implement arl, lerp opcodes and do a first stab at if/endifZack Rusin
handling and branching support.
2007-10-24Implement cross product and abs opcodeZack Rusin
2007-10-24Implement extended swizzling.Zack Rusin
2007-10-24Implement SGE and SLTZack Rusin
2007-10-24Introduce linux-llvm target. Remove the llvm code from the default build for ↵Zack Rusin
now. Cleanup some of the debugging output.
2007-10-24Align the load/stores. Reduce the amount of debugging output.Zack Rusin
2007-10-24Cleanup some of the debugging output codeZack Rusin
2007-10-24Make lit work but in a very lame way - will have to be rewritten.Zack Rusin