Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallivm: Update for UTIL_FORMAT_LAYOUT_xxx changes. | José Fonseca | 2010-02-24 | 3 | -7/+5 |
| | |||||
* | gallivm: added clamp and int_to_float functions | Brian Paul | 2010-02-23 | 2 | -1/+50 |
| | |||||
* | gallivm: s/debug_dump_/util_dump_/ | José Fonseca | 2010-02-14 | 1 | -2/+2 |
| | |||||
* | llvmpipe: Handle TGSI_TOKEN_TYPE_PROPERTY. | José Fonseca | 2010-02-11 | 2 | -0/+4 |
| | | | | Avoids assertion failures with certain shaders. | ||||
* | gallivm: TGSI_OPCODE_CONT is not deprecated. | José Fonseca | 2010-02-11 | 1 | -2/+1 |
| | | | | | | Note that with FIXME instead of an assertion failure. Addresses fdo 25956. | ||||
* | gallium: Remove prefilter member from pipe_sampler_state struct. | Michal Krol | 2010-02-09 | 3 | -3/+0 |
| | |||||
* | llvmpipe: switch to using dynamic stack allocation instead of registers | Zack Rusin | 2010-02-08 | 3 | -3/+59 |
| | | | | | | | | 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. | ||||
* | llvmpipe: export the tgsi translation code to a common layer | Zack Rusin | 2010-02-08 | 62 | -5506/+11013 |
| | | | | | | | 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. | ||||
* | Remove TGSI_OPCODE_SHR, map existing usage to TGSI_OPCODE_ISHR. | Michal Krol | 2010-01-05 | 1 | -2/+2 |
| | | | | This is to differentiate it from its unsigned version, TGSI_OPCODE_USHR. | ||||
* | gallium: Generate a single library for auxiliaries with Make too. | José Fonseca | 2010-01-01 | 1 | -92/+0 |
| | |||||
* | scons: Aggregate all tiny libraries in a single library. | José Fonseca | 2010-01-01 | 1 | -16/+0 |
| | | | | | Makes integration of gallium into out of tree components much easier. No pratical change for components in this tree, | ||||
* | tgsi: rename fields of tgsi_full_src_register to reduce verbosity | Keith Whitwell | 2009-11-24 | 1 | -17/+17 |
| | | | | | | | SrcRegister -> Register SrcRegisterInd -> Indirect SrcRegisterDim -> Dimension SrcRegisterDimInd -> DimIndirect | ||||
* | tgsi: rename fields of tgsi_full_dst_register to reduce verbosity | Keith Whitwell | 2009-11-24 | 1 | -8/+8 |
| | | | | | DstRegister -> Register DstRegisterInd -> Indirect | ||||
* | tgsi: rename fields of tgsi_full_declaration to reduce verbosity | Keith Whitwell | 2009-11-24 | 1 | -3/+3 |
| | | | | DeclarationRange -> Range | ||||
* | tgsi: rename fields of tgsi_full_instruction to avoid excessive verbosity | Keith Whitwell | 2009-11-24 | 1 | -4/+4 |
| | | | | | | | | InstructionPredicate -> Predicate InstructionLabel -> Label InstructionTexture -> Texture FullSrcRegisters -> Src FullDstRegisters -> Dst | ||||
* | Rename TGSI LOOP instruction to better match theri usage. | Michal Krol | 2009-07-31 | 1 | -8/+8 |
| | | | | | | | | 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. | ||||
* | gallivm: updates for TGSI changes | Keith Whitwell | 2009-07-23 | 2 | -22/+18 |
| | | | | | make linux-llvm succeeds, but doesn't seem to be working, at least with llvm 2.5 | ||||
* | gallium: remove deprecated TGSI opcodes | Keith Whitwell | 2009-07-23 | 1 | -26/+0 |
| | | | | | | 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. | ||||
* | gallium: simplify tgsi_full_immediate struct | Keith Whitwell | 2009-07-22 | 1 | -2/+4 |
| | | | | | | | | | | | | | 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. | ||||
* | llvm: fix compile on gcc 4.4 | Dave Airlie | 2009-06-08 | 1 | -0/+2 |
| | |||||
* | util: Move p_debug.h into util module. | José Fonseca | 2009-02-18 | 1 | -1/+1 |
| | | | | | The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible. | ||||
* | gallivm: Fix build -- rename Size to NrTokens. | Michal Krol | 2009-02-10 | 1 | -2/+2 |
| | |||||
* | gallivm: Make sure the bitcode buffer is followed by a 0 byte. | Michel Dänzer | 2009-01-12 | 3 | -4/+4 |
| | | | | May fail to parse otherwise. | ||||
* | gallivm: Print error message from ParseBitcodeFile() in case it fails. | Michel Dänzer | 2009-01-12 | 1 | -2/+3 |
| | |||||
* | gallivm: Adapt to header file move in LLVM 2.4. | Michel Dänzer | 2009-01-12 | 5 | -5/+5 |
| | |||||
* | gallivm: fix some small stuff. | Stephane Marchesin | 2008-11-16 | 2 | -3/+3 |
| | |||||
* | gallivm: replace the temp parameters of the JIT function with alloca'ed ↵ | Stephane Marchesin | 2008-10-30 | 4 | -30/+41 |
| | | | | temps. This avoids useless writes of temporary results. | ||||
* | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Keith Whitwell | 2008-10-10 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | Gallivm: add slt. glxgears should be running, except it isn't. | Stephane Marchesin | 2008-10-01 | 4 | -66/+101 |
| | | |||||
| * | Gallivm: port to llvm 2.4. | Stephane Marchesin | 2008-09-30 | 5 | -149/+149 |
| | | |||||
| * | Gallivm: fix off-by-one. | Stephane Marchesin | 2008-09-28 | 1 | -1/+1 |
| | | |||||
| * | Gallivm: more instructions. | Stephane Marchesin | 2008-09-28 | 3 | -8/+73 |
| | | |||||
| * | Gallivm: make it compile again, add some opcodes. | Stephane Marchesin | 2008-09-28 | 4 | -485/+770 |
| | | |||||
* | | Gallivm: cleanup soa storage. | Stephane Marchesin | 2008-10-09 | 2 | -34/+12 |
| | | |||||
* | | Gallivm: reorder the functions alphabetically so I can work on it. | Stephane Marchesin | 2008-10-07 | 1 | -121/+119 |
| | | |||||
* | | Gallivm: don't say hello, it's rude. | Stephane Marchesin | 2008-10-07 | 1 | -1/+0 |
| | | |||||
* | | Gallivm: fix the constant layout, this gets a bunch of progs/ working. ↵ | Stephane Marchesin | 2008-10-07 | 6 | -21/+78 |
| | | | | | | | | Notably, gears doesn't. | ||||
* | | Gallivm: add slt. glxgears should be running, except it isn't. | Stephane Marchesin | 2008-10-02 | 4 | -66/+101 |
| | | |||||
* | | Gallivm: port to llvm 2.4. | Stephane Marchesin | 2008-10-02 | 5 | -149/+149 |
| | | |||||
* | | Gallivm: fix off-by-one. | Stephane Marchesin | 2008-10-02 | 1 | -1/+1 |
| | | |||||
* | | Gallivm: more instructions. | Stephane Marchesin | 2008-10-02 | 3 | -8/+73 |
| | | |||||
* | | Gallivm: make it compile again, add some opcodes. | Stephane Marchesin | 2008-10-02 | 4 | -485/+770 |
|/ | |||||
* | gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h | Brian Paul | 2008-08-24 | 3 | -3/+4 |
| | | | | Also, rename p_tile.[ch] to u_tile.[ch] | ||||
* | gallivm: Translate KIL instead of KILP. | Michal Krol | 2008-08-13 | 4 | -13/+13 |
| | |||||
* | Merge tgsi/exec and tgsi/util directories. | José Fonseca | 2008-07-28 | 3 | -9/+9 |
| | |||||
* | llvm: build fixes. | Stephane Marchesin | 2008-07-13 | 1 | -1/+1 |
| | |||||
* | gallivm: Fix build after TGSI declaration interface changes. | Michal Krol | 2008-05-31 | 1 | -6/+4 |
| | |||||
* | cosmetic changes | Zack Rusin | 2008-05-17 | 1 | -3/+2 |
| | |||||
* | fix rsq | Zack Rusin | 2008-05-17 | 1 | -3/+3 |
| | |||||
* | fix abs and start on rsq | Zack Rusin | 2008-05-17 | 4 | -20/+58 |
| |