Commit 5ce2df34 authored by Ian Romanick's avatar Ian Romanick

asmparsertest: Add tests for NV_fp_o size specifiers

parent fbbc71fb
This diff is collapsed.
!!ARBfp1.0
# FAIL
SHORT TEMP R0;
MOV R0, fragment.texcoord[0];
MOV result.color, R0;
END
!!ARBfp1.0
# REQUIRE GL_NV_fragment_program_option
OPTION NV_fragment_program;
SHORT TEMP R0;
MOV R0, fragment.texcoord[0];
MOV result.color, R0;
END
!!ARBfp1.0
# REQUIRE GL_NV_fragment_program_option
OPTION NV_fragment_program;
LONG TEMP R0;
MOV R0, fragment.texcoord[0];
MOV result.color, R0;
END
!!ARBfp1.0
# REQUIRE GL_NV_fragment_program_option
OPTION NV_fragment_program;
LONG OUTPUT col = result.color;
MOV col, fragment.texcoord[0];
END
!!ARBfp1.0
# REQUIRE GL_NV_fragment_program_option
OPTION NV_fragment_program;
SHORT OUTPUT col = result.color;
MOV col, fragment.texcoord[0];
END
!!ARBfp1.0
# FAIL
SHORT OUTPUT col = result.color;
MOV col, fragment.texcoord[0];
END
!!ARBfp1.0
# REQUIRE GL_NV_fragment_program_option
OPTION NV_fragment_program;
TEMP R0;
ABS R0, fragment.texcoord[0];
ABSR R0, fragment.texcoord[0];
ABSH R0, fragment.texcoord[0];
ABSX R0, fragment.texcoord[0];
ADD R0, fragment.texcoord[0], fragment.texcoord[1];
ADDR R0, fragment.texcoord[0], fragment.texcoord[1];
ADDH R0, fragment.texcoord[0], fragment.texcoord[1];
ADDX R0, fragment.texcoord[0], fragment.texcoord[1];
DP3 R0, fragment.texcoord[0], fragment.texcoord[1];
DP3R R0, fragment.texcoord[0], fragment.texcoord[1];
DP3H R0, fragment.texcoord[0], fragment.texcoord[1];
DP3X R0, fragment.texcoord[0], fragment.texcoord[1];
DP4 R0, fragment.texcoord[0], fragment.texcoord[1];
DP4R R0, fragment.texcoord[0], fragment.texcoord[1];
DP4H R0, fragment.texcoord[0], fragment.texcoord[1];
DP4X R0, fragment.texcoord[0], fragment.texcoord[1];
DPH R0, fragment.texcoord[0], fragment.texcoord[1];
DPHR R0, fragment.texcoord[0], fragment.texcoord[1];
DPHH R0, fragment.texcoord[0], fragment.texcoord[1];
DPHX R0, fragment.texcoord[0], fragment.texcoord[1];
FLR R0, fragment.texcoord[0];
FLRR R0, fragment.texcoord[0];
FLRH R0, fragment.texcoord[0];
FLRX R0, fragment.texcoord[0];
FRC R0, fragment.texcoord[0];
FRCR R0, fragment.texcoord[0];
FRCH R0, fragment.texcoord[0];
FRCX R0, fragment.texcoord[0];
LRP R0, fragment.texcoord[0], fragment.texcoord[1], fragment.texcoord[2];
LRPR R0, fragment.texcoord[0], fragment.texcoord[1], fragment.texcoord[2];
LRPH R0, fragment.texcoord[0], fragment.texcoord[1], fragment.texcoord[2];
LRPX R0, fragment.texcoord[0], fragment.texcoord[1], fragment.texcoord[2];
MAD R0, fragment.texcoord[0], fragment.texcoord[1], fragment.texcoord[2];
MADR R0, fragment.texcoord[0], fragment.texcoord[1], fragment.texcoord[2];
MADH R0, fragment.texcoord[0], fragment.texcoord[1], fragment.texcoord[2];
MADX R0, fragment.texcoord[0], fragment.texcoord[1], fragment.texcoord[2];
MAX R0, fragment.texcoord[0], fragment.texcoord[1];
MAXR R0, fragment.texcoord[0], fragment.texcoord[1];
MAXH R0, fragment.texcoord[0], fragment.texcoord[1];
MAXX R0, fragment.texcoord[0], fragment.texcoord[1];
MIN R0, fragment.texcoord[0], fragment.texcoord[1];
MINR R0, fragment.texcoord[0], fragment.texcoord[1];
MINH R0, fragment.texcoord[0], fragment.texcoord[1];
MINX R0, fragment.texcoord[0], fragment.texcoord[1];
MOV R0, fragment.texcoord[0];
MOVR R0, fragment.texcoord[0];
MOVH R0, fragment.texcoord[0];
MOVX R0, fragment.texcoord[0];
MUL R0, fragment.texcoord[0], fragment.texcoord[1];
MULR R0, fragment.texcoord[0], fragment.texcoord[1];
MULH R0, fragment.texcoord[0], fragment.texcoord[1];
MULX R0, fragment.texcoord[0], fragment.texcoord[1];
SEQ R0, fragment.texcoord[0], fragment.texcoord[1];
SEQR R0, fragment.texcoord[0], fragment.texcoord[1];
SEQH R0, fragment.texcoord[0], fragment.texcoord[1];
SEQX R0, fragment.texcoord[0], fragment.texcoord[1];
SFL R0, fragment.texcoord[0], fragment.texcoord[1];
SFLR R0, fragment.texcoord[0], fragment.texcoord[1];
SFLH R0, fragment.texcoord[0], fragment.texcoord[1];
SFLX R0, fragment.texcoord[0], fragment.texcoord[1];
SGE R0, fragment.texcoord[0], fragment.texcoord[1];
SGER R0, fragment.texcoord[0], fragment.texcoord[1];
SGEH R0, fragment.texcoord[0], fragment.texcoord[1];
SGEX R0, fragment.texcoord[0], fragment.texcoord[1];
SGT R0, fragment.texcoord[0], fragment.texcoord[1];
SGTR R0, fragment.texcoord[0], fragment.texcoord[1];
SGTH R0, fragment.texcoord[0], fragment.texcoord[1];
SGTX R0, fragment.texcoord[0], fragment.texcoord[1];
SLE R0, fragment.texcoord[0], fragment.texcoord[1];
SLER R0, fragment.texcoord[0], fragment.texcoord[1];
SLEH R0, fragment.texcoord[0], fragment.texcoord[1];
SLEX R0, fragment.texcoord[0], fragment.texcoord[1];
SLT R0, fragment.texcoord[0], fragment.texcoord[1];
SLTR R0, fragment.texcoord[0], fragment.texcoord[1];
SLTH R0, fragment.texcoord[0], fragment.texcoord[1];
SLTX R0, fragment.texcoord[0], fragment.texcoord[1];
STR R0, fragment.texcoord[0], fragment.texcoord[1];
STRR R0, fragment.texcoord[0], fragment.texcoord[1];
STRH R0, fragment.texcoord[0], fragment.texcoord[1];
STRX R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
ABSR R0, fragment.texcoord[0];
END
!!ARBfp1.0
# FAIL
ABSH R0, fragment.texcoord[0];
END
!!ARBfp1.0
# FAIL
ABSX R0, fragment.texcoord[0];
END
!!ARBfp1.0
# FAIL
ADDR R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
ADDH R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
ADDX R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
DP3R R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
DP3H R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
DP3X R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
DP4R R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
DP4H R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
DP4X R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
DPHR R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
DPHH R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
DPHX R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
FLRR R0, fragment.texcoord[0];
END
!!ARBfp1.0
# FAIL
FLRH R0, fragment.texcoord[0];
END
!!ARBfp1.0
# FAIL
FLRX R0, fragment.texcoord[0];
END
!!ARBfp1.0
# FAIL
FRCR R0, fragment.texcoord[0];
END
!!ARBfp1.0
# FAIL
FRCH R0, fragment.texcoord[0];
END
!!ARBfp1.0
# FAIL
FRCX R0, fragment.texcoord[0];
END
!!ARBfp1.0
# FAIL
LRPR R0, fragment.texcoord[0], fragment.texcoord[1], fragment.texcoord[2];
END
!!ARBfp1.0
# FAIL
LRPH R0, fragment.texcoord[0], fragment.texcoord[1], fragment.texcoord[2];
END
!!ARBfp1.0
# FAIL
LRPX R0, fragment.texcoord[0], fragment.texcoord[1], fragment.texcoord[2];
END
!!ARBfp1.0
# FAIL
MADR R0, fragment.texcoord[0], fragment.texcoord[1], fragment.texcoord[2];
END
!!ARBfp1.0
# FAIL
MADH R0, fragment.texcoord[0], fragment.texcoord[1], fragment.texcoord[2];
END
!!ARBfp1.0
# FAIL
MADX R0, fragment.texcoord[0], fragment.texcoord[1], fragment.texcoord[2];
END
!!ARBfp1.0
# FAIL
MAXR R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
MAXH R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
MAXX R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
MINR R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
MINH R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
MINX R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
MOVR R0, fragment.texcoord[0];
END
!!ARBfp1.0
# FAIL
MOVH R0, fragment.texcoord[0];
END
!!ARBfp1.0
# FAIL
MOVX R0, fragment.texcoord[0];
END
!!ARBfp1.0
# FAIL
MULR R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
MULH R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
MULX R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
SEQR R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
SEQH R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
SEQX R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
SFLR R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
SFLH R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
SFLX R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
SGER R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
SGEH R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
SGEX R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
SGTR R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
SGTH R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
SGTX R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
SLER R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
SLEH R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
SLEX R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
SLTR R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
SLTH R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
SLTX R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
STRR R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
STRH R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
STRX R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# REQUIRE GL_NV_fragment_program_option
OPTION NV_fragment_program;
TEMP R0;
COS R0, fragment.texcoord[0].x;
COSR R0, fragment.texcoord[0].x;
COSH R0, fragment.texcoord[0].x;
DDX R0, fragment.texcoord[0];
DDXR R0, fragment.texcoord[0];
DDXH R0, fragment.texcoord[0];
DDY R0, fragment.texcoord[0];
DDYR R0, fragment.texcoord[0];
DDYH R0, fragment.texcoord[0];
DST R0, fragment.texcoord[0], fragment.texcoord[1];
DSTR R0, fragment.texcoord[0], fragment.texcoord[1];
DSTH R0, fragment.texcoord[0], fragment.texcoord[1];
LG2 R0, fragment.texcoord[0].x;
LG2R R0, fragment.texcoord[0].x;
LG2H R0, fragment.texcoord[0].x;
LIT R0, fragment.texcoord[0];
LITR R0, fragment.texcoord[0];
LITH R0, fragment.texcoord[0];
POW R0, fragment.texcoord[0].x, fragment.texcoord[0].y;
POWR R0, fragment.texcoord[0].x, fragment.texcoord[0].y;
POWH R0, fragment.texcoord[0].x, fragment.texcoord[0].y;
RCP R0, fragment.texcoord[0].x;
RCPR R0, fragment.texcoord[0].x;
RCPH R0, fragment.texcoord[0].x;
RFL R0, fragment.texcoord[0], fragment.texcoord[1];
RFLR R0, fragment.texcoord[0], fragment.texcoord[1];
RFLH R0, fragment.texcoord[0], fragment.texcoord[1];
RSQ R0, fragment.texcoord[0].x;
RSQR R0, fragment.texcoord[0].x;
RSQH R0, fragment.texcoord[0].x;
SIN R0, fragment.texcoord[0].x;
SINR R0, fragment.texcoord[0].x;
SINH R0, fragment.texcoord[0].x;
X2D R0, fragment.texcoord[0], fragment.texcoord[1], fragment.texcoord[2];
X2DR R0, fragment.texcoord[0], fragment.texcoord[1], fragment.texcoord[2];
X2DH R0, fragment.texcoord[0], fragment.texcoord[1], fragment.texcoord[2];
END
!!ARBfp1.0
# FAIL
COSR R0, fragment.texcoord[0].x;
END
!!ARBfp1.0
# FAIL
COSH R0, fragment.texcoord[0].x;
END
!!ARBfp1.0
# FAIL
DDX R0, fragment.texcoord[0];
END
!!ARBfp1.0
# FAIL
DDY R0, fragment.texcoord[0];
END
!!ARBfp1.0
# FAIL
DSTR R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
DSTH R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
LG2R R0, fragment.texcoord[0].x;
END
!!ARBfp1.0
# FAIL
LG2H R0, fragment.texcoord[0].x;
END
!!ARBfp1.0
# FAIL
LITR R0, fragment.texcoord[0];
END
!!ARBfp1.0
# FAIL
LITH R0, fragment.texcoord[0];
END
!!ARBfp1.0
# FAIL
POWR R0, fragment.texcoord[0].x, fragment.texcoord[0].y;
END
!!ARBfp1.0
# FAIL
POWH R0, fragment.texcoord[0].x, fragment.texcoord[0].y;
END
!!ARBfp1.0
# FAIL
RCPR R0, fragment.texcoord[0].x;
END
!!ARBfp1.0
# FAIL
RCPH R0, fragment.texcoord[0].x;
END
!!ARBfp1.0
# FAIL
RFL R0, fragment.texcoord[0], fragment.texcoord[1];
END
!!ARBfp1.0
# FAIL
RSQR R0, fragment.texcoord[0].x;
END
!!ARBfp1.0
# FAIL
RSQH R0, fragment.texcoord[0].x;
END
!!ARBfp1.0
# FAIL
SINR R0, fragment.texcoord[0].x;
END