Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | gallivm: silence uninitialized var warning | Brian Paul | 2010-05-13 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | gallivm: silence casting warning | Brian Paul | 2010-05-13 | 1 | -1/+17 | |
| | | | | ||||||
* | | | | gallivm: silence uninitialized var warning | Brian Paul | 2010-05-13 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | llvmpipe: silence uninitialized var warnings | Brian Paul | 2010-05-13 | 1 | -1/+2 | |
| | | | | ||||||
* | | | | gallivm: added lp_dump_llvmtype() debug helper | Brian Paul | 2010-05-13 | 2 | -0/+40 | |
| | | | | ||||||
* | | | | llvmpipe: additional comments | Brian Paul | 2010-05-13 | 1 | -3/+5 | |
| | | | | ||||||
* | | | | gallivm: rename a var | Brian Paul | 2010-05-13 | 1 | -3/+4 | |
| | | | | ||||||
* | | | | util: Fix ptr -> int conversion. | José Fonseca | 2010-05-13 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Conditionally revert "gallivm: Use a more compact approach for ↵ | José Fonseca | 2010-05-13 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | lp_build_broadcast_scalar()." This reverts commit a09e46c72461183c879d8472b44fe740ecc79b9f. | |||||
* | | | | gallium: Add tokens for Cygwin. | Vinson Lee | 2010-05-13 | 2 | -6/+6 | |
| | | | | ||||||
* | | | | rbug: Update and add READMEs | Jakob Bornecrantz | 2010-05-12 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | gallivm: Ensure PIPE_OS_xxx are defined. | José Fonseca | 2010-05-12 | 1 | -0/+1 | |
| | | | | ||||||
* | | | | gallivm: Use a more compact approach for lp_build_broadcast_scalar(). | José Fonseca | 2010-05-12 | 1 | -8/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | It produces exactly the same machine code, but it cuts 5% of the number of instructions generated for a typical shader. Also, preserve the scalar when length is 1. | |||||
* | | | | util: Add function to dump PIPE_STENCIL_OP_xxx | José Fonseca | 2010-05-12 | 2 | -0/+30 | |
| | | | | ||||||
* | | | | rbug: Add to all targets that link against trace | Jakob Bornecrantz | 2010-05-12 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Also added calls to the create function in target helpers and in tr_drm.c the latter being a hack and should be replaced with the wrap screen target helper. But at least this way we don't regress. | |||||
* | | | | gallivm: additional comments | Brian Paul | 2010-05-12 | 2 | -6/+39 | |
| | | | | ||||||
* | | | | gallivm: s/bool/boolean | Brian Paul | 2010-05-12 | 1 | -3/+3 | |
| | | | | ||||||
* | | | | gallivm: rename vars, update comments, etc | Brian Paul | 2010-05-12 | 2 | -21/+23 | |
| | | | | ||||||
* | | | | gallivm: comment out LLVMUnionTypeKind case | Brian Paul | 2010-05-12 | 1 | -0/+2 | |
| | | | | ||||||
* | | | | gallivm: rename texel result param | Brian Paul | 2010-05-12 | 2 | -17/+22 | |
| | | | | | | | | | | | | | | | | Be clear that this parameter returns four texel channel results. | |||||
* | | | | gallivm: add a few comments | Brian Paul | 2010-05-12 | 1 | -3/+3 | |
| | | | | ||||||
* | | | | gallivm/llvmpipe: add const qualifiers | Brian Paul | 2010-05-12 | 3 | -11/+11 | |
| | | | | ||||||
* | | | | gallivm: added lp_typekind_name() util function | Brian Paul | 2010-05-12 | 2 | -0/+49 | |
| | | | | ||||||
* | | | | tgsi: also count instructions in tgsi_scan_shader() | Brian Paul | 2010-05-12 | 2 | -4/+4 | |
| | | | | ||||||
* | | | | softpipe: Adverstise (tgsi_exec's) shader limits. | José Fonseca | 2010-05-12 | 1 | -4/+5 | |
| | | | | ||||||
* | | | | mesa/st+tgsi: Provide a free callback to match with ureg_get_tokens(). | José Fonseca | 2010-05-11 | 2 | -0/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This fixes crashes with the memory debugging routines on Windows. NOTE: This is a candidate for the 7.8 stable branch | |||||
* | | | | gallivm/llvmpipe: move an old comment to a better location | Brian Paul | 2010-05-10 | 1 | -0/+11 | |
| | | | | ||||||
* | | | | gallivm: Silent warning. | José Fonseca | 2010-05-10 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | gallivm: Add missing lvalue. | José Fonseca | 2010-05-10 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | gallivm: Temporarily disable custom LLVMDumpValue on MSVC. | José Fonseca | 2010-05-10 | 1 | -2/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Seeing very weird crashes during std::cout initialization. The fault probably lies in the way I build LLVM on MSVC, but disable for now to allow more time to investigate. | |||||
* | | | | gallivm: cosf/sinf are macros on MSVC. | José Fonseca | 2010-05-10 | 1 | -2/+12 | |
| | | | | | | | | | | | | | | | | So taking the function address does not work. | |||||
* | | | | gallivm: Add an alternative to LLVMDumpValue that works with Windows GUI apps. | José Fonseca | 2010-05-08 | 6 | -7/+111 | |
| | | | | ||||||
* | | | | gallivm: Fix mipfiltering with negative lod bias. | José Fonseca | 2010-05-08 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, don't use the clamped lod to compute level + 1, or lod in [-1, 0] range will actually interpolate with level 1. This makes Mipfilter DCT pass 100%. | |||||
* | | | | gallivm: Actually do floor/ceil/trunc for scalars. | José Fonseca | 2010-05-08 | 3 | -166/+34 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Also start axing the code duplication for scalar case. The olution is to treat the scalar case specially in a few innermost functions, and leave outer functions untouched. | |||||
* | | | | gallivm: Import the code to compute the minimax polynomials. | José Fonseca | 2010-05-08 | 1 | -0/+85 | |
| | | | | | | | | | | | | | | | | | | | | | | | | It's quite a pain to remember the details after a while, and it is quite likely we'll want to use this again, either for different polynomial orders or different functions, so commit it here. | |||||
* | | | | gallivm: Use a minimax polynomial for exp2 in range [0,1] instead [-0.5,5]. | José Fonseca | 2010-05-08 | 1 | -14/+41 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The advantage of range[-0.5, 0.5] is that it doesn't require floor (for which intrinsics are only available in SSE4.1). But the EXP opcode pretty much forces us to use floor, and there is a good floor approximation around truncation available anyway. This fixes EXP failures in VShader DCT. | |||||
* | | | | gallivm: Don't hardcode number of args twice. | José Fonseca | 2010-05-08 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | gallivm: The the JIT engine to use our sinf()/cosf() on Windows. | José Fonseca | 2010-05-08 | 1 | -18/+79 | |
| | | | | | | | | | | | | | | | | | | | | A quick hack to get the right results, as there are many DCT tests which use these opcodes to generate data to test other opcodes. | |||||
* | | | | gallivm: Fix BREAK/CONT translation. | José Fonseca | 2010-05-08 | 1 | -44/+63 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The cont_mask must be restored and exec mask recomputed in order to decide whether to repeat the loop or not. Unlike the continue mask, the break_mask must be preserved across loop iterations. Fixes several VShader DCT cases, and no regressions with glean. | |||||
* | | | | gallivm: Fix segfaul when inserting allocas in an empty function. | José Fonseca | 2010-05-08 | 1 | -3/+10 | |
| | | | | ||||||
* | | | | gallivm: Centralize SoA swizzling into a single place. | José Fonseca | 2010-05-08 | 5 | -70/+128 | |
| | | | | ||||||
* | | | | gallivm: Support predicates. | José Fonseca | 2010-05-08 | 2 | -8/+101 | |
| | | | | ||||||
* | | | | gallium/draw: additional comments in the clipping code | Brian Paul | 2010-05-07 | 1 | -5/+10 | |
| | | | | ||||||
* | | | | tgis: fix SOA aliasing for MUL instruction in SSE codegen | Brian Paul | 2010-05-07 | 1 | -4/+11 | |
| | | | | | | | | | | | | | | | | Part of a fix for piglit trinity-fp1 test failure. | |||||
* | | | | gallivm: Require SSE2 for draw_llvm/llvmpipe due to LLVM PR6960. | Török Edwin | 2010-05-06 | 1 | -1/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that this also requires X86 for llvm, if llvmpipe/draw_llvm works on PPC then the condition should be extended to include && x86. Signed-off-by: Török Edwin <[email protected]> Signed-off-by: José Fonseca <[email protected]> | |||||
* | | | | tgsi: make SSE ADD instruction SOA-safe | Brian Paul | 2010-05-06 | 1 | -5/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To properly execute an instruction such as "ADD tmp, tmp.wzyx, foo;" with SOA we (sometimes) need to put the results into temporaries before writing the results to the destination register. This patch fixes the ADD instruction but this needs to be done for many more instructions. Helps to fix piglit fp-long-alu test (fd.o bug 27989). | |||||
* | | | | tgsi: code refactoring | Brian Paul | 2010-05-06 | 1 | -16/+34 | |
| | | | | ||||||
* | | | | tgsi: added tgsi_get_processor_name() | Brian Paul | 2010-05-06 | 2 | -0/+18 | |
| | | | | ||||||
* | | | | tgsi: fix tgsi_exec_machine_bind_shader() to handle NULL tokens, samplers | Brian Paul | 2010-05-06 | 1 | -1/+20 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This lets us unbind a shader from the tgsi_exec_machine. Since shaders aren't ref counted we need this to properly clean up when deleting shaders elsewhere. | |||||
* | | | | gallium/tgsi: remove unused tgsi_exec_labels code | Brian Paul | 2010-05-06 | 2 | -22/+0 | |
| | | | |