summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/gallivm
AgeCommit message (Collapse)Author
2010-02-09gallium: Remove prefilter member from pipe_sampler_state struct.Michal Krol
2010-02-08llvmpipe: switch to using dynamic stack allocation instead of registersZack Rusin
with mutable vars we don't need to follow the phi nodes. meaning that control flow becomes trivial as we don't have scan the rest of the tgsi to figure out the variable usage anymore. futhermore the memory2register pass promotes alloca/store/load to registers while inserting the right phi nodes. so we get simplicity and performance.
2010-02-08llvmpipe: export the tgsi translation code to a common layerZack Rusin
the llvmpipe tgsi translation is a lot more complete than what was in gallivm so replacing the latter with the former. this is needed since the draw llvm paths will use the same code. effectively the proven llvmpipe code becomes gallivm.
2010-01-05Remove TGSI_OPCODE_SHR, map existing usage to TGSI_OPCODE_ISHR.Michal Krol
This is to differentiate it from its unsigned version, TGSI_OPCODE_USHR.
2010-01-01gallium: Generate a single library for auxiliaries with Make too.José Fonseca
2010-01-01scons: Aggregate all tiny libraries in a single library.José Fonseca
Makes integration of gallium into out of tree components much easier. No pratical change for components in this tree,
2009-11-24tgsi: rename fields of tgsi_full_src_register to reduce verbosityKeith Whitwell
SrcRegister -> Register SrcRegisterInd -> Indirect SrcRegisterDim -> Dimension SrcRegisterDimInd -> DimIndirect
2009-11-24tgsi: rename fields of tgsi_full_dst_register to reduce verbosityKeith Whitwell
DstRegister -> Register DstRegisterInd -> Indirect
2009-11-24tgsi: rename fields of tgsi_full_declaration to reduce verbosityKeith Whitwell
DeclarationRange -> Range
2009-11-24tgsi: rename fields of tgsi_full_instruction to avoid excessive verbosityKeith Whitwell
InstructionPredicate -> Predicate InstructionLabel -> Label InstructionTexture -> Texture FullSrcRegisters -> Src FullDstRegisters -> Dst
2009-07-31Rename TGSI LOOP instruction to better match theri usage.Michal Krol
The LOOP/ENDLOOP pair is renamed to BGNFOR/ENDFOR as its behaviour is similar to a C language for-loop. The BGNLOOP2/ENDLOOP2 pair is renamed to BGNLOOP/ENDLOOP as now there is no name collision.
2009-07-23gallivm: updates for TGSI changesKeith Whitwell
make linux-llvm succeeds, but doesn't seem to be working, at least with llvm 2.5
2009-07-23gallium: remove deprecated TGSI opcodesKeith Whitwell
Various opcodes which can be implemented trivially with other TGSI opcodes, such as matrix multiplication and negation. These were not used by any state tracker or implemented by any of the drivers.
2009-07-22gallium: simplify tgsi_full_immediate structKeith Whitwell
Remove the need to have a pointer in this struct by just including the immediate data inline. Having a pointer in the struct introduces complications like needing to alloc/free the data pointed to, uncertainty about who owns the data, etc. There doesn't seem to be a need for it, and it is unlikely to make much difference plus or minus to performance. Added some asserts as we now will trip up on immediates with more than four elements. There were actually already quite a few such asserts, but the >4 case could be used in the future to specify indexable immediate ranges, such as lookup tables.
2009-06-08llvm: fix compile on gcc 4.4Dave Airlie
2009-02-18util: Move p_debug.h into util module.José Fonseca
The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible.
2009-02-10gallivm: Fix build -- rename Size to NrTokens.Michal Krol
2009-01-12gallivm: Make sure the bitcode buffer is followed by a 0 byte.Michel Dänzer
May fail to parse otherwise.
2009-01-12gallivm: Print error message from ParseBitcodeFile() in case it fails.Michel Dänzer
2009-01-12gallivm: Adapt to header file move in LLVM 2.4.Michel Dänzer
2008-11-16gallivm: fix some small stuff.Stephane Marchesin
2008-10-30gallivm: replace the temp parameters of the JIT function with alloca'ed ↵Stephane Marchesin
temps. This avoids useless writes of temporary results.
2008-10-10Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell
Conflicts: src/gallium/auxiliary/gallivm/instructionssoa.cpp src/gallium/auxiliary/gallivm/soabuiltins.c src/gallium/auxiliary/rtasm/rtasm_x86sse.c src/gallium/auxiliary/rtasm/rtasm_x86sse.h src/mesa/main/texenvprogram.c src/mesa/shader/arbprogparse.c src/mesa/shader/prog_statevars.c src/mesa/state_tracker/st_draw.c src/mesa/vbo/vbo_exec_draw.c
2008-10-09Gallivm: cleanup soa storage.Stephane Marchesin
2008-10-07Gallivm: reorder the functions alphabetically so I can work on it.Stephane Marchesin
2008-10-07Gallivm: don't say hello, it's rude.Stephane Marchesin
2008-10-07Gallivm: fix the constant layout, this gets a bunch of progs/ working. ↵Stephane Marchesin
Notably, gears doesn't.
2008-10-02Gallivm: add slt. glxgears should be running, except it isn't.Stephane Marchesin
2008-10-02Gallivm: port to llvm 2.4.Stephane Marchesin
2008-10-02Gallivm: fix off-by-one.Stephane Marchesin
2008-10-02Gallivm: more instructions.Stephane Marchesin
2008-10-02Gallivm: make it compile again, add some opcodes.Stephane Marchesin
2008-10-01Gallivm: add slt. glxgears should be running, except it isn't.Stephane Marchesin
2008-09-30Gallivm: port to llvm 2.4.Stephane Marchesin
2008-09-28Gallivm: fix off-by-one.Stephane Marchesin
2008-09-28Gallivm: more instructions.Stephane Marchesin
2008-09-28Gallivm: make it compile again, add some opcodes.Stephane Marchesin
2008-08-24gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul
Also, rename p_tile.[ch] to u_tile.[ch]
2008-08-13gallivm: Translate KIL instead of KILP.Michal Krol
2008-07-28Merge tgsi/exec and tgsi/util directories.José Fonseca
2008-07-13llvm: build fixes.Stephane Marchesin
2008-05-31gallivm: Fix build after TGSI declaration interface changes.Michal Krol
2008-05-17cosmetic changesZack Rusin
2008-05-17fix rsqZack Rusin
2008-05-17fix abs and start on rsqZack Rusin
2008-05-17do the lit (some artifacts present)Zack Rusin
2008-05-17implement min/max and abstract ops on vectorsZack Rusin
2008-05-17llvm: implement sub and absZack Rusin
2008-05-17fix injections of functions from builtins into shadersZack Rusin
2008-05-17move the swizzling code to gallivm in preperation for code-generating itZack Rusin
also some minor cleanups