summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_test_conv.c
AgeCommit message (Collapse)Author
2010-11-30gallivm/llvmpipe: squash merge of the llvm-context branchBrian Paul
This branch defines a gallivm_state structure which contains the LLVMBuilderRef, LLVMContextRef, etc. All data structures built with this object can be periodically freed during a "garbage collection" operation. The gallivm_state object has to be passed to most of the builder functions where LLVMBuilderRef used to be used. Conflicts: src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c src/gallium/drivers/llvmpipe/lp_state_setup.c
2010-07-29llvmpipe: don't call LLVMCreateJITCompiler() twiceBrian Paul
Fixes a failed assertion with LLVM 2.6: <unnamed>::JITResolver::JITResolver(llvm::JIT&): Assertion `TheJITResolver == 0&& "Multiple JIT resolvers?"' failed. Though, not everyone seems to experience this problem.
2010-07-02gallivm: Fix 4 x unorm8 -> 4 x float conversion.José Fonseca
Also fix the test.
2010-07-01gallivm: Allow to conversions to/from registers of different sizes.José Fonseca
Allow for example to convert from 4 x float32 to 4 x unorm8 and vice versa. Uses code and ideas from Brian Paul.
2010-06-04llvmpipe: new -s option to run single testBrian Paul
Put specific test code in the test_single() function and pass -s to execute that code.
2010-05-30llvmpipe: Use pointer_to_func() instead of custom wrappers.José Fonseca
2010-05-13llvmpipe: silence cast warnings in test programsBrian Paul
2010-05-12llvmpipe: s/bool/boolean/ in test progsBrian Paul
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-12gallium: Rename ALIGN_STACK -> PIPE_ALIGN_STACK for consistency.José Fonseca
2010-01-12gallium: Simplify PIPE_ALIGN_VAR.José Fonseca
gcc allows pre-fix variable attributes. Suggested by Ian Romanick.
2010-01-12gallium: Generalize the alignment macros to other compilers and any alignment.José Fonseca
2010-01-01llvmpipe: Use C-style comment.Vinson Lee
2009-11-09llvmpipe: Ensure stack variables in unit tests are properly aligned.José Fonseca
2009-10-22llvmpipe: Avoid variable size arrays.José Fonseca
Not really variable size, but MSVC still doesn't like them.
2009-09-16llvmpipe: Make the code portable for MinGW.José Fonseca
2009-09-14llvmpipe: Make lp_type a regular union.José Fonseca
Union not worth the hassle of violating C99 or adding a name to the structure.
2009-08-29llvmpipe: Get conversions working correctly for all integer types.José Fonseca
2009-08-29llvmpipe: Several fixes of the conversion test.José Fonseca
2009-08-29llvmpipe: Disassemble generated x86 code.José Fonseca
2009-08-29llvmpipe: Test only present functionality to allow regression testing.José Fonseca
2009-08-29llvmpipe: Handle more conversions.José Fonseca
Not all successfully yet though..
2009-08-29llvmpipe: Normalize the cycles with the number of channel.José Fonseca
So that we have a comparable number for different formats.
2009-08-29llvmpipe: Handle ubyte -> float conversion too.José Fonseca
2009-08-29llvmpipe: Bootstrap type conversions.José Fonseca