Lines Matching refs:clampCast

444                 context, clampCast<GLuint>(CastQueryValueTo<GLint>(pname, params[0]))));  in SetTexParameterBase()
449 clampCast<GLuint>(CastQueryValueTo<GLint>(pname, params[0]))); in SetTexParameterBase()
693 return clampCast<GLint>(var.type); in GetCommonVariableProperty()
698 return clampCast<GLint>(var.getBasicTypeElementCount()); in GetCommonVariableProperty()
702 return clampCast<GLint>(var.name.size() + 1u); in GetCommonVariableProperty()
721 return clampCast<GLint>(program->getInputResourceName(index).size() + 1u); in GetInputResourceProperty()
763 return clampCast<GLint>(program->getOutputResourceName(index).size() + 1u); in GetOutputResourceProperty()
810 return clampCast<GLint>(tfVariable.type); in GetTransformFeedbackVaryingResourceProperty()
813 return clampCast<GLint>(tfVariable.size()); in GetTransformFeedbackVaryingResourceProperty()
816 return clampCast<GLint>(tfVariable.nameWithArrayIndex().size() + 1); in GetTransformFeedbackVaryingResourceProperty()
829 return clampCast<GLint>(program->getState().getProgramInputs().size()); in QueryProgramInterfaceActiveResources()
832 return clampCast<GLint>(program->getState().getOutputVariables().size()); in QueryProgramInterfaceActiveResources()
835 return clampCast<GLint>(program->getState().getUniforms().size()); in QueryProgramInterfaceActiveResources()
838 return clampCast<GLint>(program->getState().getUniformBlocks().size()); in QueryProgramInterfaceActiveResources()
841 return clampCast<GLint>(program->getState().getAtomicCounterBuffers().size()); in QueryProgramInterfaceActiveResources()
844 return clampCast<GLint>(program->getState().getBufferVariables().size()); in QueryProgramInterfaceActiveResources()
847 return clampCast<GLint>(program->getState().getShaderStorageBlocks().size()); in QueryProgramInterfaceActiveResources()
850 return clampCast<GLint>(program->getTransformFeedbackVaryingCount()); in QueryProgramInterfaceActiveResources()
864 max = std::max(max, clampCast<GLint>((resource.*member).size())); in FindMaxSize()
898 return clampCast<GLint>(program->getTransformFeedbackVaryingMaxLength()); in QueryProgramInterfaceMaxNameLength()
998 params[(*outputPosition)++] = clampCast<GLint>(buffer.dataSize); in GetShaderVariableBufferResourceProperty()
1008 params[(*outputPosition)++] = clampCast<GLint>(buffer.memberIndexes[memberIndex]); in GetShaderVariableBufferResourceProperty()
1045 params[(*outputPosition)++] = clampCast<GLint>(block.nameWithArrayIndex().size() + 1); in GetInterfaceBlockResourceProperty()
1331 *params = clampCast<GLint>(program->getTransformFeedbackVaryingCount()); in QueryProgramiv()
1645 *params = clampCast<GLint>(format.sampleCounts.size()); in QueryInternalFormativ()
1715 *values = clampCast<GLint>(GL_SYNC_FENCE); in QuerySynciv()
1718 *values = clampCast<GLint>(sync->getCondition()); in QuerySynciv()
1721 *values = clampCast<GLint>(sync->getFlags()); in QuerySynciv()