diff options
author | Matt Turner <[email protected]> | 2016-02-27 14:05:17 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2016-03-01 11:41:29 -0800 |
commit | ed72a1c118d3108c3f48fd4e374c3fb22abdb7f2 (patch) | |
tree | 28827599cc301c9e220e22956f614d842ed294dc /src/mesa/program | |
parent | 5429554f09427b582e447ba3cd7350b45272054d (diff) |
program: Remove NV_fragment_program opcode parsing.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Acked-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/program')
-rw-r--r-- | src/mesa/program/program_lexer.l | 8 | ||||
-rw-r--r-- | src/mesa/program/program_parser.h | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/src/mesa/program/program_lexer.l b/src/mesa/program/program_lexer.l index 11c7a612684..bb169b930ce 100644 --- a/src/mesa/program/program_lexer.l +++ b/src/mesa/program/program_lexer.l @@ -32,7 +32,6 @@ #define require_ARB_vp (yyextra->mode == ARB_vertex) #define require_ARB_fp (yyextra->mode == ARB_fragment) -#define require_NV_fp (yyextra->option.NV_fragment) #define require_shadow (yyextra->option.Shadow) #define require_rect (yyextra->option.TexRect) #define require_texarray (yyextra->option.TexArray) @@ -188,8 +187,6 @@ ARL { return_opcode(require_ARB_vp, ARL, ARL, 3); } CMP{sat} { return_opcode(require_ARB_fp, TRI_OP, CMP, 3); } COS{sat} { return_opcode(require_ARB_fp, SCALAR_OP, COS, 3); } -DDX{sat} { return_opcode(require_NV_fp, VECTOR_OP, DDX, 3); } -DDY{sat} { return_opcode(require_NV_fp, VECTOR_OP, DDY, 3); } DP3{sat} { return_opcode( 1, BIN_OP, DP3, 3); } DP4{sat} { return_opcode( 1, BIN_OP, DP4, 3); } DPH{sat} { return_opcode( 1, BIN_OP, DPH, 3); } @@ -220,19 +217,14 @@ RCP{sat} { return_opcode( 1, SCALAR_OP, RCP, 3); } RSQ{sat} { return_opcode( 1, SCALAR_OP, RSQ, 3); } SCS{sat} { return_opcode(require_ARB_fp, SCALAR_OP, SCS, 3); } -SEQ{sat} { return_opcode(require_NV_fp, BIN_OP, SEQ, 3); } SGE{sat} { return_opcode( 1, BIN_OP, SGE, 3); } -SGT{sat} { return_opcode(require_NV_fp, BIN_OP, SGT, 3); } SIN{sat} { return_opcode(require_ARB_fp, SCALAR_OP, SIN, 3); } -SLE{sat} { return_opcode(require_NV_fp, BIN_OP, SLE, 3); } SLT{sat} { return_opcode( 1, BIN_OP, SLT, 3); } -SNE{sat} { return_opcode(require_NV_fp, BIN_OP, SNE, 3); } SUB{sat} { return_opcode( 1, BIN_OP, SUB, 3); } SWZ{sat} { return_opcode( 1, SWZ, SWZ, 3); } TEX{sat} { return_opcode(require_ARB_fp, SAMPLE_OP, TEX, 3); } TXB{sat} { return_opcode(require_ARB_fp, SAMPLE_OP, TXB, 3); } -TXD{sat} { return_opcode(require_NV_fp, TXD_OP, TXD, 3); } TXP{sat} { return_opcode(require_ARB_fp, SAMPLE_OP, TXP, 3); } XPD{sat} { return_opcode( 1, BIN_OP, XPD, 3); } diff --git a/src/mesa/program/program_parser.h b/src/mesa/program/program_parser.h index d5a1e229de4..af7b2a0be3e 100644 --- a/src/mesa/program/program_parser.h +++ b/src/mesa/program/program_parser.h @@ -207,7 +207,6 @@ struct asm_parser_state { unsigned Shadow:1; unsigned TexRect:1; unsigned TexArray:1; - unsigned NV_fragment:1; unsigned OriginUpperLeft:1; unsigned PixelCenterInteger:1; } option; |