summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/programopt.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-01-02 23:08:27 +0100
committerMarek Olšák <[email protected]>2016-01-08 20:06:23 +0100
commit24737f2298619844685e7deceaeb8dbfc2165ee3 (patch)
treef2998914715aca7474127cef7c21cc8b24fdd41d /src/mesa/program/programopt.h
parent4191c1a57c1e806a078bfc5b074b557ff2b54c35 (diff)
program: add a helper for rewriting FP position input to sysval
Reviewed-by: Edward O'Callaghan <[email protected] Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/program/programopt.h')
-rw-r--r--src/mesa/program/programopt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/program/programopt.h b/src/mesa/program/programopt.h
index 757421edfe1..1520d161ea8 100644
--- a/src/mesa/program/programopt.h
+++ b/src/mesa/program/programopt.h
@@ -51,6 +51,8 @@ _mesa_count_texture_instructions(struct gl_program *prog);
extern void
_mesa_remove_output_reads(struct gl_program *prog, gl_register_file type);
+extern void
+_mesa_program_fragment_position_to_sysval(struct gl_program *prog);
#ifdef __cplusplus
}