Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mesa
piglit
Commits
6cac4d01
Commit
6cac4d01
authored
Jul 12, 2008
by
Nicolai Hähnle
Browse files
Add new tst: fp-generic/lrp_sat
Current r500 fragment program implementation fails this test.
parent
83283dd1
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/all.tests
View file @
6cac4d01
...
...
@@ -69,6 +69,7 @@ fpgeneric = Group()
def
make_fpgeneric
(
name
):
return
PlainExecTest
([
testBinDir
+
'fp-generic'
,
testBinDir
+
'../tests/shaders/generic/'
+
name
])
fpgeneric
[
'dph'
]
=
make_fpgeneric
(
'dph.fp'
)
fpgeneric
[
'lrp_sat'
]
=
make_fpgeneric
(
'lrp_sat.fp'
)
shaders
[
'fp-generic'
]
=
fpgeneric
bugs
=
Group
()
...
...
tests/shaders/generic/lrp_sat.fp
0 → 100644
View file @
6cac4d01
1 3 0
tc
0.5 0.0 1.0 0.0
1.5 4.5 2.0 1.0
-0.5 4.5 3.5 1.0
tex
expected
0.25 0.5 0.5 1.0
!!ARBfp1.0
TEMP r0;
LRP_SAT r0, fragment.texcoord[0], fragment.texcoord[1], fragment.texcoord[2];
MUL result.color, 0.5, r0;
END
; comment
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment