summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common/driverfuncs.c
diff options
context:
space:
mode:
authorMiklós Máté <[email protected]>2016-03-24 01:12:55 +0100
committerMarek Olšák <[email protected]>2016-03-27 19:58:33 +0200
commite2d5a6fac5c2b433cd78c0fc29b420b36c429cb9 (patch)
tree7c74fb071f3b14a272d5855b416973e607e83094 /src/mesa/drivers/common/driverfuncs.c
parent11bd53933e36665efdcfd922ab7c22d51429df9a (diff)
mesa: optionally associate a gl_program to ATI_fragment_shader
the state tracker will use it Acked-by: Brian Paul <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Signed-off-by: Miklós Máté <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common/driverfuncs.c')
-rw-r--r--src/mesa/drivers/common/driverfuncs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/common/driverfuncs.c b/src/mesa/drivers/common/driverfuncs.c
index e96f92af5bb..2730b7b2f2a 100644
--- a/src/mesa/drivers/common/driverfuncs.c
+++ b/src/mesa/drivers/common/driverfuncs.c
@@ -117,6 +117,9 @@ _mesa_init_driver_functions(struct dd_function_table *driver)
driver->NewProgram = _mesa_new_program;
driver->DeleteProgram = _mesa_delete_program;
+ /* ATI_fragment_shader */
+ driver->NewATIfs = NULL;
+
/* simple state commands */
driver->AlphaFunc = NULL;
driver->BlendColor = NULL;