Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-10-23 | gallium: remove the swizzling parts of ExtSwizzle | Keith Whitwell | |
These haven't been used by the mesa state tracker since the conversion to tgsi_ureg, and it seems that none of the other state trackers are using it either. This helps simplify one of the biggest suprises when starting off with TGSI shaders. | |||
2009-10-02 | gallium: replace // comments with /* */ | Brian Paul | |
2009-07-22 | gallium: remove multiple aliases for TGSI opcodes | Keith Whitwell | |
This is a source of ongoing confusion. TGSI has multiple names for opcodes where the same semantics originate in multiple shader APIs. For instance, TGSI includes both Mesa/GLSL and DX/SM30 names for opcodes with the same semantics, but aliases those names to the same underlying opcode number. This makes it very difficult to visually inspect two sets of opcodes (eg in state tracker & driver) and check if they implement the same functionality. This patch arbitarily rips out the versions of the opcodes not currently favoured by the mesa state tracker and leaves us with a single name for each distinct operation. | |||
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-03-18 | draw: use AOS_ERROR rather than clash-prone ERROR() macro | Keith Whitwell | |
2009-02-18 | Merge commit 'origin/gallium-0.1' | Keith Whitwell | |
Conflicts: src/gallium/auxiliary/draw/draw_vs_aos.c | |||
2009-02-17 | draw: Reuse xmm registers. | Keith Whitwell | |
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-18 | draw: Reuse xmm registers. | Keith Whitwell | |
2009-02-16 | gallium: fix glean's vertProg1 | Alan Hourihane | |
RSQ test 2 (reciprocal square toot of negative value) | |||
2009-02-10 | draw: Fix build -- rename Size to NrTokens. | Michal Krol | |
2009-01-27 | draw: silence some warnings | Keith Whitwell | |
2009-01-27 | draw: queiten compiler warnings | Keith Whitwell | |
2008-11-05 | gallium: disable some debug output | Brian Paul | |
2008-11-05 | draw: Implement TGSI_OPCODE_TRUNC. | michal | |
2008-10-02 | draw: don't keep refetching constant inputs | Keith Whitwell | |
2008-10-02 | draw: add streamlined paths for fetching linear verts | Keith Whitwell | |
2008-09-02 | gallium: fix out of bounds array errors in SSE execution | Brian Paul | |
1. #define MAX_INPUTS/OUTPUTS/TEMPS/etc with better values. 2. Add assertions in aos_get_x86() to check register file indexes 3. Assert that constant regs haven't changed after running SSE code. | |||
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-22 | gallium: use new util_fast_exp2(), _log2(), pow() functions | Brian Paul | |
New code surrounded with #if FAST_MATH to allow comparing against original code if we need to debug. | |||
2008-07-28 | Merge tgsi/exec and tgsi/util directories. | José Fonseca | |
2008-06-12 | gallium: disable the codegen for TGSI_OPCODE_EXPBASE2 for now. | Brian Paul | |
The x86 code seems to fail for exponents of 4 or larger. See glean's vertProg1/EX2 test. | |||
2008-06-12 | gallium: fix SSE codegen for instructions that use both a CONSTANT and IMMEDIATE | Keith Whitwell | |
Fixes codegen for instructions like MUL dst, CONST[0], IMM[0]; the two operands would up getting aliased in the x86/sse code. Fixes glean/vertProg1/fogparams test. | |||
2008-06-11 | draw: don't assume vertex position is in data[0] | Keith Whitwell | |
2008-06-11 | draw: remove debug assert on failover to generic vs varient | Keith Whitwell | |
2008-06-09 | gallium: disable a tgsi_dump() call | Brian Paul | |
2008-06-03 | Merge branch 'gallium-tex-surfaces' into gallium-0.1 | Keith Whitwell | |
2008-06-03 | draw: Use register names more consistently. | Michal Krol | |
2008-06-03 | draw: Fix fetch_src(). Resurrect SSE version of DP3. | Michal Krol | |
2008-06-02 | draw: Fix DP3 implementation by replacing SSE with x87 version. | Michal Krol | |
2008-06-02 | draw: Fix MSVC warnings. | José Fonseca | |
2008-05-29 | draw: michal's patch for calling powf... teapot still not quite right | Keith Whitwell | |
2008-05-29 | draw: make sure constant buffer data is aligned before passing to aos.c | Keith Whitwell | |
2008-05-29 | draw: share machine | Keith Whitwell | |
2008-05-28 | draw: enable FSE by default | Keith Whitwell | |
2008-05-28 | draw: Use PIPE_CDECL. | José Fonseca | |
2008-05-27 | draw: support psize in vs_varient paths | Keith Whitwell | |
Preserve the vinfo "EMIT_*" format descriptors in the varient key, and deal with PSIZE directly in each implementation. | |||
2008-05-27 | draw: fix ABS aliasing bug | Keith Whitwell | |
2008-05-27 | draw: explicitly list nr_inputs, outputs in varient key | Keith Whitwell | |
2008-05-27 | draw: hook up viewport / rhw emit to varient key state | Keith Whitwell | |
2008-05-27 | draw: dump individual instructions as they are processed | Keith Whitwell | |
2008-05-27 | draw: fix writemask/shufps confusion | Keith Whitwell | |
2008-05-27 | draw: some possible fixes for spilling | Keith Whitwell | |
2008-05-26 | draw: extend precision in RSQ opcode | Keith Whitwell | |
2008-05-26 | draw: more aos tweaks | Keith Whitwell | |
2008-05-25 | draw: slight tweak for XPD opcode | Keith Whitwell | |
2008-05-25 | draw: remove EXP & LOG from vs_aos.c | Keith Whitwell | |
These don't get hit & look like bug magnets to me... | |||
2008-05-25 | draw: special case for writing out scalar results | Keith Whitwell | |
2008-05-25 | draw: clean up some of the xmm register manipulation function names | Keith Whitwell | |
2008-05-24 | draw: use lookup tables to avoid calling pow() in LIT opcode | Keith Whitwell | |