Keith Whitwell
66a7eedaa2
tgsi: handle some src/dst aliasing in tgsi_sse2.c
Src/Dst aliasing (aka SOA dependencies) requires some care to ensure
intermediate results do not overwrite yet-to-be read source registers.
This change ensures that MOV/SWZ handle this correctly, which is poor but
no worse than the current tgsi_exec.c path. Remove the fallback as there
is nothing to be gained correctness-wise between the two implementations now.
Fixing this properly looks like a bit of work in this code, but might be
easily achieved by sending destination writes to temporary storage.
pirms 16 gadiem
Keith Whitwell
18e5f1cee4
tgsi: implement saturation
Fix recent performance regression.
pirms 16 gadiem
José Fonseca
e3f14f2f3b
progs: Port fp programs to GLEW.
pirms 16 gadiem
Brian Paul
f94053eb7d
tests: another extended swizzle test
pirms 16 gadiem
Keith Whitwell
103a4bd711
progs/fp: pass texcoord to triangle, add a test shader
pirms 16 gadiem
José Fonseca
188a3334f8
progs: Add util to cpp path.
pirms 16 gadiem
Keith Whitwell
fb8a9875f6
fp: enable a second texture unit and add a kil test for it
pirms 16 gadiem
Keith Whitwell
185ff38895
fp: add some more texture, position and kill tests
pirms 16 gadiem
Keith Whitwell
2dd9a0197c
fp: new kill + position test
pirms 16 gadiem
Keith Whitwell
52a68b9078
fp: dont reference fragment.position.zw
pirms 16 gadiem
Jakob Bornecrantz
96c773c77b
progs: Make fp-tri use glew and add scons target
pirms 16 gadiem
Jakob Bornecrantz
866a2c3ccb
mesa: Update ignores a bit
pirms 17 gadiem
Jakob Bornecrantz
fa7529335c
progs/fp: Add a bit of local variable testing to fp-tri
pirms 17 gadiem
Brian Paul
870afb8319
negate.txt - test negation of a src reg
pirms 17 gadiem
Jonathan White
272810125b
Makefile was previously checked in with merge diffs still present. I just selected HEAD and removed the old.
pirms 17 gadiem
Brian Paul
c436f96b10
simple add with swizzle and mul with swizzle tests
pirms 17 gadiem
Keith Whitwell
1f13545679
fp: put test name in window title, add run script
pirms 17 gadiem
Brian Paul
dbbbc33344
use APP_CC
pirms 17 gadiem
Guillaume Melquiond
3e8e292db0
Always pass CFLAGS when compiling or linking demos
To ensure that the correct architecture flags are used, always pass the
user's CFLAGS when compiling or linking the demos. Fixes #16860 .
pirms 17 gadiem
Dan Nicholson
a6464b3cb0
Never fail `make clean'
Mostly some pedantic changes such that `make clean' always ignores
errors. Also changed the top clean target to do the `touch
configs/current' dance instead of realclean.
pirms 17 gadiem
Zack Rusin
55c1894d0a
Add the new test program for fp's.
pirms 18 gadiem
Zack Rusin
63a9d835ce
Redo the fragment program examples to match vp's
we just load text files instead of compiling tons of small
binaries
pirms 18 gadiem
Dan Nicholson
c05aa5ec4c
specify app lib dependencies in Makefiles (patch 1/3)
pirms 18 gadiem
José Fonseca
414a933ad2
Ignore generated files.
pirms 18 gadiem
Dan Nicholson
b182613f2f
Ignore more generated files in progs/
Many of the directories in progs/ were missing .gitignore files or
were tracking generated files. This patch is basically the process of
running `make' in each directory and then finding the untracked files
with `git-ls-files -o --exclude-per-directory=.gitignore'. The existing
files were also sorted.
pirms 18 gadiem
Keith Whitwell
39f222a421
add point-position.c
pirms 19 gadiem
Keith Whitwell
28536e6c4f
Test for fragment.position in points primitives. Currently renders
incorrectly on software mesa.
pirms 19 gadiem
Keith Whitwell
eda59aa87e
Oops - bad file-completion typo.
pirms 20 gadiem
Keith Whitwell
ca188de098
add simple test for program local parameters
pirms 20 gadiem
Keith Whitwell
e516654dec
new depth tests
pirms 20 gadiem
Keith Whitwell
f28cbb6a7f
simplify, remove sgi messages
pirms 20 gadiem
Keith Whitwell
3a09ea919c
better looking tests
pirms 20 gadiem
Keith Whitwell
2ea6b800c0
Make test visible
pirms 20 gadiem
Keith Whitwell
8975cbb36b
Better looking test.
pirms 20 gadiem
Keith Whitwell
a90909e892
A bunch of little tests which exercise each ARB_fp instruction plus
a couple of other interesting cases.
pirms 20 gadiem