Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-03-04 | gallivm: added lp_build_negate() | Brian Paul | |
2010-03-04 | gallivm: clarify unsigned vs. signed integer type construction | Brian Paul | |
The lp_int_type() function was creating an unsigned type. So rename that function to lp_uint_type() and create new lp_int_type() that creates a signed type. | |||
2010-03-03 | gallivm: Centralize initialization. Fix stack alignment issues on Windows. | José Fonseca | |
2010-03-03 | gallivm: Rename lp_bld_misc -> lp_bld_init. | José Fonseca | |
2010-03-02 | llvmpipe: improve based on review from Jose and fix else clauses | Zack Rusin | |
else was broken in the outter most else statemants, plus the code didn't need an inverted mask to compute the inverse of the current condition. | |||
2010-03-01 | llvmpipe: implement some control-flow | Zack Rusin | |
implements if/else/endif constructs and lays down the code for looping and others. we create a conditional execution mask which decides which of the four inputs are enabled for any store. it's used only if an execution mask is present, otherwise we go through a direct store. | |||
2010-02-24 | gallivm: Update for UTIL_FORMAT_LAYOUT_xxx changes. | José Fonseca | |
2010-02-23 | gallivm: added clamp and int_to_float functions | Brian Paul | |
2010-02-14 | gallivm: s/debug_dump_/util_dump_/ | José Fonseca | |
2010-02-11 | llvmpipe: Handle TGSI_TOKEN_TYPE_PROPERTY. | José Fonseca | |
Avoids assertion failures with certain shaders. | |||
2010-02-11 | gallivm: TGSI_OPCODE_CONT is not deprecated. | José Fonseca | |
Note that with FIXME instead of an assertion failure. Addresses fdo 25956. | |||
2010-02-09 | gallium: Remove prefilter member from pipe_sampler_state struct. | Michal Krol | |
2010-02-08 | llvmpipe: switch to using dynamic stack allocation instead of registers | Zack 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-08 | llvmpipe: export the tgsi translation code to a common layer | Zack 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-05 | Remove 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-01 | gallium: Generate a single library for auxiliaries with Make too. | José Fonseca | |
2010-01-01 | scons: 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-24 | tgsi: rename fields of tgsi_full_src_register to reduce verbosity | Keith Whitwell | |
SrcRegister -> Register SrcRegisterInd -> Indirect SrcRegisterDim -> Dimension SrcRegisterDimInd -> DimIndirect | |||
2009-11-24 | tgsi: rename fields of tgsi_full_dst_register to reduce verbosity | Keith Whitwell | |
DstRegister -> Register DstRegisterInd -> Indirect | |||
2009-11-24 | tgsi: rename fields of tgsi_full_declaration to reduce verbosity | Keith Whitwell | |
DeclarationRange -> Range | |||
2009-11-24 | tgsi: rename fields of tgsi_full_instruction to avoid excessive verbosity | Keith Whitwell | |
InstructionPredicate -> Predicate InstructionLabel -> Label InstructionTexture -> Texture FullSrcRegisters -> Src FullDstRegisters -> Dst | |||
2009-07-31 | Rename 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-23 | gallivm: updates for TGSI changes | Keith Whitwell | |
make linux-llvm succeeds, but doesn't seem to be working, at least with llvm 2.5 | |||
2009-07-23 | gallium: remove deprecated TGSI opcodes | Keith 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-22 | gallium: simplify tgsi_full_immediate struct | Keith 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-08 | llvm: fix compile on gcc 4.4 | Dave Airlie | |
2009-02-18 | util: 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-10 | gallivm: Fix build -- rename Size to NrTokens. | Michal Krol | |
2009-01-12 | gallivm: Make sure the bitcode buffer is followed by a 0 byte. | Michel Dänzer | |
May fail to parse otherwise. | |||
2009-01-12 | gallivm: Print error message from ParseBitcodeFile() in case it fails. | Michel Dänzer | |
2009-01-12 | gallivm: Adapt to header file move in LLVM 2.4. | Michel Dänzer | |
2008-11-16 | gallivm: fix some small stuff. | Stephane Marchesin | |
2008-10-30 | gallivm: replace the temp parameters of the JIT function with alloca'ed ↵ | Stephane Marchesin | |
temps. This avoids useless writes of temporary results. | |||
2008-10-10 | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Keith 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-09 | Gallivm: cleanup soa storage. | Stephane Marchesin | |
2008-10-07 | Gallivm: reorder the functions alphabetically so I can work on it. | Stephane Marchesin | |
2008-10-07 | Gallivm: don't say hello, it's rude. | Stephane Marchesin | |
2008-10-07 | Gallivm: fix the constant layout, this gets a bunch of progs/ working. ↵ | Stephane Marchesin | |
Notably, gears doesn't. | |||
2008-10-02 | Gallivm: add slt. glxgears should be running, except it isn't. | Stephane Marchesin | |
2008-10-02 | Gallivm: port to llvm 2.4. | Stephane Marchesin | |
2008-10-02 | Gallivm: fix off-by-one. | Stephane Marchesin | |
2008-10-02 | Gallivm: more instructions. | Stephane Marchesin | |
2008-10-02 | Gallivm: make it compile again, add some opcodes. | Stephane Marchesin | |
2008-10-01 | Gallivm: add slt. glxgears should be running, except it isn't. | Stephane Marchesin | |
2008-09-30 | Gallivm: port to llvm 2.4. | Stephane Marchesin | |
2008-09-28 | Gallivm: fix off-by-one. | Stephane Marchesin | |
2008-09-28 | Gallivm: more instructions. | Stephane Marchesin | |
2008-09-28 | Gallivm: make it compile again, add some opcodes. | Stephane Marchesin | |
2008-08-24 | gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h | Brian Paul | |
Also, rename p_tile.[ch] to u_tile.[ch] | |||
2008-08-13 | gallivm: Translate KIL instead of KILP. | Michal Krol | |