projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95d9fdc
)
mesa: make _mesa_set_varying_vp_inputs a no-op in GL core profile
author
Marek Olšák
<marek.olsak@amd.com>
Fri, 9 Jun 2017 22:52:51 +0000
(
00:52
+0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 21 Jun 2017 23:51:02 +0000
(
01:51
+0200)
just don't set _NEW_VARYING_VP_INPUTS.
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/main/state.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/state.c
b/src/mesa/main/state.c
index ebdc1065da8d8b9f7800d8c0973984116cbbbeb3..2b4d8d46ea0de07e80c6f3ee28b372b77e44c255 100644
(file)
--- a/
src/mesa/main/state.c
+++ b/
src/mesa/main/state.c
@@
-406,6
+406,10
@@
void
_mesa_set_varying_vp_inputs( struct gl_context *ctx,
GLbitfield64 varying_inputs )
{
+ if (ctx->API != API_OPENGL_COMPAT &&
+ ctx->API != API_OPENGLES)
+ return;
+
if (ctx->varying_vp_inputs != varying_inputs) {
ctx->varying_vp_inputs = varying_inputs;