| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Manual merge of ureg changes on the branch. Too much unrelated stuff
for a proper merge.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Can now guarantee alignment in the initial allocation of the tgsi exec machine.
|
|
|
|
| |
A lot of draw code no longer needs to see this header.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Centralize the creation, initialization and destruction of this struct.
Use align_malloc instead of home-brew alternatives.
|
| |
|
| |
|
|
|
|
|
| |
Use tgsi_sampler struct as a base class. Softpipe subclasses it and adds
the fields it needs.
|
| |
|
| |
|
| |
|
|
|