summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dd.h
diff options
context:
space:
mode:
authorMiklós Máté <mtmkls@gmail.com>2016-03-24 01:12:55 +0100
committerMarek Olšák <marek.olsak@amd.com>2016-03-27 19:58:33 +0200
commite2d5a6fac5c2b433cd78c0fc29b420b36c429cb9 (patch)
tree7c74fb071f3b14a272d5855b416973e607e83094 /src/mesa/main/dd.h
parent11bd53933e36665efdcfd922ab7c22d51429df9a (diff)
downloadexternal_mesa3d-e2d5a6fac5c2b433cd78c0fc29b420b36c429cb9.zip
external_mesa3d-e2d5a6fac5c2b433cd78c0fc29b420b36c429cb9.tar.gz
external_mesa3d-e2d5a6fac5c2b433cd78c0fc29b420b36c429cb9.tar.bz2
mesa: optionally associate a gl_program to ATI_fragment_shader
the state tracker will use it Acked-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Miklós Máté <mtmkls@gmail.com> Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r--src/mesa/main/dd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index 60bc8ef..d62fee6 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -477,6 +477,11 @@ struct dd_function_table {
/** Delete a program */
void (*DeleteProgram)(struct gl_context *ctx, struct gl_program *prog);
/**
+ * Allocate a program to associate with the new ATI fragment shader (optional)
+ */
+ struct gl_program * (*NewATIfs)(struct gl_context *ctx,
+ struct ati_fragment_shader *curProg);
+ /**
* Notify driver that a program string (and GPU code) has been specified
* or modified. Return GL_TRUE or GL_FALSE to indicate if the program is
* supported by the driver.