python/regress: Add vertex shader FRC test.

This commit is contained in:
Michal Krol 2009-04-01 15:41:36 +02:00
parent f8dd6594bf
commit 16c281dfb5
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,16 @@
VERT1.1
DCL IN[0], POSITION
DCL IN[1], COLOR
DCL OUT[0], POSITION
DCL OUT[1], COLOR
DCL TEMP[0]
IMM FLT32 { 2.7, 3.1, 4.5, 1.0 }
MUL TEMP[0], IN[0].xyxw, IMM[0]
MOV OUT[0], IN[0]
FRC OUT[1], TEMP[0]
END

View File

@ -217,6 +217,7 @@ def main():
'dp4',
'dst',
'ex2',
'frc',
'mov',
'mul',
'sub',