summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_exec.h
Commit message (Collapse)AuthorAgeFilesLines
* aux/tgsi: pull back ureg work from 0.1 branchKeith Whitwell2009-09-031-0/+8
| | | | | Manual merge of ureg changes on the branch. Too much unrelated stuff for a proper merge.
* tgsi: handle SOA dependencies for MOV/SWZBrian Paul2009-08-201-0/+8
| | | | | | | | | | | | | | | | | | | | | | SOA dependencies can happen when a register is used both as a source and destination and the source is swizzled. For example: MOV T, T.yxwz; would expand into: MOV t0, t1; MOV t1, t0; MOV t2, t3; MOV t3, t2; The second instruction will produce the wrong result since we wrote to t0 in the first instruction. We need to use an intermediate temporary to fix this. This will take more work to fix for all TGSI instructions. This seems to happen with MOV instructions more than anything else so fix that case now and warn on others. Fixes piglit glsl-vs-loop test (when not using SSE). See bug 23317.
* tgsi: no need to separately malloc input and output arraysKeith Whitwell2009-07-161-2/+3
| | | | Can now guarantee alignment in the initial allocation of the tgsi exec machine.
* gallium: reduce recursive include of tgsi_exec.hKeith Whitwell2009-07-161-0/+1
| | | | A lot of draw code no longer needs to see this header.
* tgsi: make function call code in tgsi_sse.c less opaqueKeith Whitwell2009-07-161-2/+6
| | | | | | Explictly pass src and dst arguments (previously dst argument was also being used as a src). Separate argument handling from the rest of the function call emit.
* gallium: proper constructor and destructor for tgsi_exec_machineKeith Whitwell2009-07-161-14/+8
| | | | | Centralize the creation, initialization and destruction of this struct. Use align_malloc instead of home-brew alternatives.
* tgsi: increase MAX_LABELS to 4096Brian Paul2009-06-041-1/+1
|
* tgsi: minor commentsBrian Paul2009-03-221-2/+2
|
* softpipe: remove old/unneeded dependencies between TGSI exec and softpipeBrian2008-11-231-9/+2
| | | | | Use tgsi_sampler struct as a base class. Softpipe subclasses it and adds the fields it needs.
* tgsi: More comments on source register indirect and 2D indexing.Michal Krol2008-11-121-0/+10
|
* gallium: added tgsi_set_exec_mask()Brian Paul2008-11-051-0/+25
|
* tgsi: Add condition code (CC) register.Michal Krol2008-08-181-5/+24
|
* Merge tgsi/exec and tgsi/util directories.José Fonseca2008-07-281-0/+253