summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-04-17 17:30:23 -0700
committerKenneth Graunke <[email protected]>2013-05-12 09:36:43 -0700
commitbbf029f7cf006d86a5dd13bf3bdd43f660ce2e51 (patch)
tree88ec78b20944da94e95fa69aa2505bad9df29ad7 /src/mesa/main/context.h
parentb765740a66821c4e97816a938c94740717661ba3 (diff)
mesa: Move the mvp_with_dp4 flag to ShaderCompilerOptions.
This flag essentially tells the compiler whether it prefers dot products or multiply/adds for matrix operations. As such, ShaderCompilerOptions seems like the right place for it. This also lets us specify it on a per-stage basis. This patch makes all existing users set the flag for the Vertex Shader stage only, as it's currently only used for fixed-function vertex programs. That will change soon, and I wanted to preserve the existing behavior. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/context.h')
-rw-r--r--src/mesa/main/context.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/main/context.h b/src/mesa/main/context.h
index 8e0e88a3920..0118e5f6ac4 100644
--- a/src/mesa/main/context.h
+++ b/src/mesa/main/context.h
@@ -155,11 +155,6 @@ extern struct _glapi_table *
_mesa_get_dispatch(struct gl_context *ctx);
-void
-_mesa_set_mvp_with_dp4( struct gl_context *ctx,
- GLboolean flag );
-
-
extern GLboolean
_mesa_valid_to_render(struct gl_context *ctx, const char *where);