Lines Matching refs:variables
220 // Default block variables
222 for (int varNdx = 0; varNdx < (int)m_defaultBlock.variables.size(); ++varNdx)
225 if (m_defaultBlock.variables[varNdx].layout.binding == -1 &&
226 containsMatchingSubtype(m_defaultBlock.variables[varNdx].varType, glu::isDataTypeAtomicCounter))
230 if (m_defaultBlock.variables[varNdx].varType.isStructType() &&
231 containsMatchingSubtype(m_defaultBlock.variables[varNdx].varType, glu::isDataTypeAtomicCounter))
236 if (m_defaultBlock.variables[varNdx].layout.matrixOrder != glu::MATRIXORDER_LAST)
239 if (containsMatchingSubtype(m_defaultBlock.variables[varNdx].varType, glu::isDataTypeSampler))
241 const glu::Layout layoutWithLocationAndBinding(m_defaultBlock.variables[varNdx].layout.location, m_defaultBlock.variables[varNdx].layout.binding);
243 if (m_defaultBlock.variables[varNdx].layout != layoutWithLocationAndBinding)
262 if (containsMatchingSubtype(m_defaultBlock.interfaceBlocks[interfaceNdx].variables, isOpaqueType))
271 for (int varNdx = 0; varNdx < (int)m_defaultBlock.variables.size(); ++varNdx)
273 if (m_defaultBlock.variables[varNdx].storage == glu::STORAGE_IN && isIllegalVertexInput(m_defaultBlock.variables[varNdx].varType))
275 if (m_defaultBlock.variables[varNdx].storage == glu::STORAGE_OUT && isIllegalVertexOutput(m_defaultBlock.variables[varNdx].varType))
277 if (m_defaultBlock.variables[varNdx].storage == glu::STORAGE_OUT && m_defaultBlock.variables[varNdx].interpolation != glu::INTERPOLATION_FLAT && isTypeIntegerOrContainsIntegers(m_defaultBlock.variables[varNdx].varType))
292 for (int varNdx = 0; varNdx < (int)m_defaultBlock.variables.size(); ++varNdx)
294 if (m_defaultBlock.variables[varNdx].storage == glu::STORAGE_IN && isIllegalFragmentInput(m_defaultBlock.variables[varNdx].varType))
296 if (m_defaultBlock.variables[varNdx].storage == glu::STORAGE_IN && m_defaultBlock.variables[varNdx].interpolation != glu::INTERPOLATION_FLAT && isTypeIntegerOrContainsIntegers(m_defaultBlock.variables[varNdx].varType))
298 if (m_defaultBlock.variables[varNdx].storage == glu::STORAGE_OUT && isIllegalFragmentOutput(m_defaultBlock.variables[varNdx].varType))
313 for (int varNdx = 0; varNdx < (int)m_defaultBlock.variables.size(); ++varNdx)
315 if (m_defaultBlock.variables[varNdx].storage == glu::STORAGE_IN ||
316 m_defaultBlock.variables[varNdx].storage == glu::STORAGE_PATCH_IN ||
317 m_defaultBlock.variables[varNdx].storage == glu::STORAGE_OUT ||
318 m_defaultBlock.variables[varNdx].storage == glu::STORAGE_PATCH_OUT)
336 for (int varNdx = 0; varNdx < (int)m_defaultBlock.variables.size(); ++varNdx)
338 if (m_defaultBlock.variables[varNdx].storage == glu::STORAGE_PATCH_IN ||
339 m_defaultBlock.variables[varNdx].storage == glu::STORAGE_PATCH_OUT)
344 if (m_defaultBlock.variables[varNdx].storage == glu::STORAGE_IN && !m_defaultBlock.variables[varNdx].varType.isArrayType())
361 for (int varNdx = 0; varNdx < (int)m_defaultBlock.variables.size(); ++varNdx)
363 if (m_defaultBlock.variables[varNdx].storage == glu::STORAGE_PATCH_IN)
366 if (m_defaultBlock.variables[varNdx].storage == glu::STORAGE_IN && !m_defaultBlock.variables[varNdx].varType.isArrayType())
369 if (m_defaultBlock.variables[varNdx].storage == glu::STORAGE_OUT && !m_defaultBlock.variables[varNdx].varType.isArrayType())
386 for (int varNdx = 0; varNdx < (int)m_defaultBlock.variables.size(); ++varNdx)
388 if (m_defaultBlock.variables[varNdx].storage == glu::STORAGE_PATCH_OUT)
391 if (m_defaultBlock.variables[varNdx].storage == glu::STORAGE_IN && !m_defaultBlock.variables[varNdx].varType.isArrayType())
438 for (int varNdx = 0; varNdx < (int)m_shaders[shaderNdx]->m_defaultBlock.variables.size(); ++varNdx)
439 collectStructPtrs(structTypes, m_shaders[shaderNdx]->m_defaultBlock.variables[varNdx].varType);
442 for (int varNdx = 0; varNdx < (int)m_shaders[shaderNdx]->m_defaultBlock.interfaceBlocks[interfaceNdx].variables.size(); ++varNdx)
443 collectStructPtrs(structTypes, m_shaders[shaderNdx]->m_defaultBlock.interfaceBlocks[interfaceNdx].variables[varNdx].varType);