summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/prog_print.c
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2016-02-27 14:04:30 -0800
committerMatt Turner <[email protected]>2016-03-01 11:41:29 -0800
commitfe2d2c7ad8793fbcc4761cf5b51270c296eb811c (patch)
tree9cdec4090aa4a63bde0339b4d04887fc1e12b4af /src/mesa/program/prog_print.c
parent0d1f6c752f6c4c7c5c2ec6be569e4bdd33bef204 (diff)
program: Remove NV_fragment_program Abs support.
Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Acked-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_print.c')
-rw-r--r--src/mesa/program/prog_print.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mesa/program/prog_print.c b/src/mesa/program/prog_print.c
index 2bca0447e6a..08381b42523 100644
--- a/src/mesa/program/prog_print.c
+++ b/src/mesa/program/prog_print.c
@@ -528,15 +528,11 @@ fprint_src_reg(FILE *f,
gl_prog_print_mode mode,
const struct gl_program *prog)
{
- const char *abs = srcReg->Abs ? "|" : "";
-
- fprintf(f, "%s%s%s%s",
- abs,
+ fprintf(f, "%s%s",
reg_string((gl_register_file) srcReg->File,
srcReg->Index, mode, srcReg->RelAddr, prog),
_mesa_swizzle_string(srcReg->Swizzle,
- srcReg->Negate, GL_FALSE),
- abs);
+ srcReg->Negate, GL_FALSE));
#if 0
fprintf(f, "%s[%d]%s",
_mesa_register_file_name((gl_register_file) srcReg->File),