summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shader_query.cpp
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2015-10-23 16:10:02 -0700
committerJordan Justen <jordan.l.justen@intel.com>2015-11-03 16:44:22 -0800
commit4bc16ad2176efda5f8c59e222b4735ee35c434b5 (patch)
treef8b70b50ab1ba521f1c81660c81e31d7be56f2b9 /src/mesa/main/shader_query.cpp
parentcf3121ed1885b257217dbac24a131dbfd5f8e438 (diff)
downloadexternal_mesa3d-4bc16ad2176efda5f8c59e222b4735ee35c434b5.zip
external_mesa3d-4bc16ad2176efda5f8c59e222b4735ee35c434b5.tar.gz
external_mesa3d-4bc16ad2176efda5f8c59e222b4735ee35c434b5.tar.bz2
mesa: rename UniformBlockStageIndex to InterfaceBlockStageIndex
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Cc: Samuel Iglesias Gonsálvez <siglesias@igalia.com> Cc: Iago Toral <itoral@igalia.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Diffstat (limited to 'src/mesa/main/shader_query.cpp')
-rw-r--r--src/mesa/main/shader_query.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/shader_query.cpp b/src/mesa/main/shader_query.cpp
index dd51bba..5cb877b 100644
--- a/src/mesa/main/shader_query.cpp
+++ b/src/mesa/main/shader_query.cpp
@@ -980,7 +980,7 @@ is_resource_referenced(struct gl_shader_program *shProg,
return RESOURCE_ATC(res)->StageReferences[stage];
if (res->Type == GL_UNIFORM_BLOCK || res->Type == GL_SHADER_STORAGE_BLOCK)
- return shProg->UniformBlockStageIndex[stage][index] != -1;
+ return shProg->InterfaceBlockStageIndex[stage][index] != -1;
return res->StageReferences & (1 << stage);
}