summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2016-02-29 14:47:43 -0800
committerMatt Turner <[email protected]>2016-03-01 11:41:29 -0800
commit5429554f09427b582e447ba3cd7350b45272054d (patch)
tree93ce851a545331d4999f9b6bc918725ca03b8ed4
parent409c24f9cc390be62df6ef790879f903065b28a5 (diff)
program: Remove NV_fragment_program scalar suffix parsing.
Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Acked-by: Brian Paul <[email protected]>
-rw-r--r--src/mesa/program/program_parse.y17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/mesa/program/program_parse.y b/src/mesa/program/program_parse.y
index 5651bdb3640..ad94fe032bc 100644
--- a/src/mesa/program/program_parse.y
+++ b/src/mesa/program/program_parse.y
@@ -564,23 +564,6 @@ scalarUse: srcReg scalarSuffix
$$.Base.Swizzle = _mesa_combine_swizzles($$.Base.Swizzle,
$2.swizzle);
}
- | paramConstScalarUse
- {
- struct asm_symbol temp_sym;
-
- if (!state->option.NV_fragment) {
- yyerror(& @1, state, "expected scalar suffix");
- YYERROR;
- }
-
- memset(& temp_sym, 0, sizeof(temp_sym));
- temp_sym.param_binding_begin = ~0;
- initialize_symbol_from_const(state->prog, & temp_sym, & $1, GL_TRUE);
-
- set_src_reg_swz(& $$, PROGRAM_CONSTANT,
- temp_sym.param_binding_begin,
- temp_sym.param_binding_swizzle);
- }
;
swizzleSrcReg: optionalSign srcReg swizzleSuffix