summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_vs_aos.c
AgeCommit message (Collapse)Author
2010-04-28draw: use a cast wrapperBrian Paul
2010-04-28draw: put 'create' in the vs varient create function namesBrian Paul
2010-04-28draw: add missing function parameterBrian Paul
2010-01-28gallium: Rename PIPE_MAX_CONSTANT to PIPE_MAX_CONSTANT_BUFFERS.Michal Krol
2010-01-28gallium: Enable multiple constant buffers for vertex and geometry shaders.Michal Krol
2009-11-24tgsi: rename fields of tgsi_full_src_register to reduce verbosityKeith Whitwell
SrcRegister -> Register SrcRegisterInd -> Indirect SrcRegisterDim -> Dimension SrcRegisterDimInd -> DimIndirect
2009-11-24tgsi: rename fields of tgsi_full_dst_register to reduce verbosityKeith Whitwell
DstRegister -> Register DstRegisterInd -> Indirect
2009-11-24tgsi: rename fields of tgsi_full_instruction to avoid excessive verbosityKeith Whitwell
InstructionPredicate -> Predicate InstructionLabel -> Label InstructionTexture -> Texture FullSrcRegisters -> Src FullDstRegisters -> Dst
2009-10-23gallium: remove the swizzling parts of ExtSwizzleKeith 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-02gallium: replace // comments with /* */Brian Paul
2009-07-22gallium: remove multiple aliases for TGSI opcodesKeith 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-22gallium: simplify tgsi_full_immediate structKeith 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-18draw: use AOS_ERROR rather than clash-prone ERROR() macroKeith Whitwell
2009-02-18Merge commit 'origin/gallium-0.1'Keith Whitwell
Conflicts: src/gallium/auxiliary/draw/draw_vs_aos.c
2009-02-17draw: Reuse xmm registers.Keith Whitwell
2009-02-18util: 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-18draw: Reuse xmm registers.Keith Whitwell
2009-02-16gallium: fix glean's vertProg1Alan Hourihane
RSQ test 2 (reciprocal square toot of negative value)
2009-02-10draw: Fix build -- rename Size to NrTokens.Michal Krol
2009-01-27draw: silence some warningsKeith Whitwell
2009-01-27draw: queiten compiler warningsKeith Whitwell
2008-11-05gallium: disable some debug outputBrian Paul
2008-11-05draw: Implement TGSI_OPCODE_TRUNC.michal
2008-10-02draw: don't keep refetching constant inputsKeith Whitwell
2008-10-02draw: add streamlined paths for fetching linear vertsKeith Whitwell
2008-09-02gallium: fix out of bounds array errors in SSE executionBrian 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-24gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul
Also, rename p_tile.[ch] to u_tile.[ch]
2008-08-22gallium: use new util_fast_exp2(), _log2(), pow() functionsBrian Paul
New code surrounded with #if FAST_MATH to allow comparing against original code if we need to debug.
2008-07-28Merge tgsi/exec and tgsi/util directories.José Fonseca
2008-06-12gallium: 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-12gallium: fix SSE codegen for instructions that use both a CONSTANT and IMMEDIATEKeith 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-11draw: don't assume vertex position is in data[0]Keith Whitwell
2008-06-11draw: remove debug assert on failover to generic vs varientKeith Whitwell
2008-06-09gallium: disable a tgsi_dump() callBrian Paul
2008-06-03Merge branch 'gallium-tex-surfaces' into gallium-0.1Keith Whitwell
2008-06-03draw: Use register names more consistently.Michal Krol
2008-06-03draw: Fix fetch_src(). Resurrect SSE version of DP3.Michal Krol
2008-06-02draw: Fix DP3 implementation by replacing SSE with x87 version.Michal Krol
2008-06-02draw: Fix MSVC warnings.José Fonseca
2008-05-29draw: michal's patch for calling powf... teapot still not quite rightKeith Whitwell
2008-05-29draw: make sure constant buffer data is aligned before passing to aos.cKeith Whitwell
2008-05-29draw: share machineKeith Whitwell
2008-05-28draw: enable FSE by defaultKeith Whitwell
2008-05-28draw: Use PIPE_CDECL.José Fonseca
2008-05-27draw: support psize in vs_varient pathsKeith Whitwell
Preserve the vinfo "EMIT_*" format descriptors in the varient key, and deal with PSIZE directly in each implementation.
2008-05-27draw: fix ABS aliasing bugKeith Whitwell
2008-05-27draw: explicitly list nr_inputs, outputs in varient keyKeith Whitwell
2008-05-27draw: hook up viewport / rhw emit to varient key stateKeith Whitwell
2008-05-27draw: dump individual instructions as they are processedKeith Whitwell
2008-05-27draw: fix writemask/shufps confusionKeith Whitwell