summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shader_query.cpp
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2016-05-19 10:27:12 -0700
committerIan Romanick <ian.d.romanick@intel.com>2016-05-26 16:23:53 -0700
commit326a269c7778e2921d48e5d1d2a3683331a1173d (patch)
treed18a9f9fa4b9151447401f4d41a78a796cce1daf /src/mesa/main/shader_query.cpp
parent3722c76001ae3190ce7a813e02b5f1eefa5d07eb (diff)
downloadexternal_mesa3d-326a269c7778e2921d48e5d1d2a3683331a1173d.zip
external_mesa3d-326a269c7778e2921d48e5d1d2a3683331a1173d.tar.gz
external_mesa3d-326a269c7778e2921d48e5d1d2a3683331a1173d.tar.bz2
mesa: Only validate SSO shader IO in OpenGL ES or debug context
v2: Move later in series to avoid issues with Gallium drivers and debug contexts. Suggested by Ilia. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Suggested-by: Timothy Arceri <timothy.arceri@collabora.com> Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Diffstat (limited to 'src/mesa/main/shader_query.cpp')
-rw-r--r--src/mesa/main/shader_query.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/shader_query.cpp b/src/mesa/main/shader_query.cpp
index 81277b6..31c0a4e 100644
--- a/src/mesa/main/shader_query.cpp
+++ b/src/mesa/main/shader_query.cpp
@@ -1377,9 +1377,6 @@ validate_io(struct gl_shader_program *producer,
if (producer == consumer)
return true;
- if (!producer->IsES && !consumer->IsES)
- return true;
-
bool valid = true;
gl_shader_variable const **outputs =