Home
last modified time | relevance | path

Searched refs:compareFuncs (Results 1 – 11 of 11) sorted by relevance

/external/deqp/modules/glshared/
DglsInteractionTestUtil.cpp72 static const deUint32 compareFuncs[] = in computeRandomRenderState() local
174 …l[ndx].function = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs)); in computeRandomRenderState()
186 …state.depthFunc = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs)); in computeRandomRenderState()
DglsTextureStateQueryTests.cpp1360 …const GLenum compareFuncs[] = {GL_LEQUAL, GL_GEQUAL, GL_LESS, GL_GREATER, GL_EQUAL, GL_NOTEQUAL… in test() local
1364 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(compareFuncs); ++ndx) in test()
1368 const glw::GLint value = (glw::GLint)compareFuncs[ndx]; in test()
1376 const glw::GLuint value = compareFuncs[ndx]; in test()
1381 verifyStateTextureParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test()
1386 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(compareFuncs); ++ndx) in test()
1388 gl.glTexParameteri(m_target, m_pname, compareFuncs[ndx]); in test()
1391 verifyStateTextureParamInteger(result, gl, m_target, m_pname, compareFuncs[ndx], m_type); in test()
1396 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(compareFuncs); ++ndx) in test()
1398 gl.glTexParameterf(m_target, m_pname, (GLfloat)compareFuncs[ndx]); in test()
[all …]
DglsUniformBlockCase.cpp719 void getCompareDependencies (std::set<glu::DataType>& compareFuncs, glu::DataType basicType) in getCompareDependencies() argument
726 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies()
727 compareFuncs.insert(basicType); in getCompareDependencies()
739 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies()
740 compareFuncs.insert(glu::getDataTypeFloatVec(glu::getDataTypeMatrixNumRows(basicType))); in getCompareDependencies()
741 compareFuncs.insert(basicType); in getCompareDependencies()
745 compareFuncs.insert(basicType); in getCompareDependencies()
781 std::set<glu::DataType> compareFuncs; in generateCompareFuncs() local
789 getCompareDependencies(compareFuncs, *iter); in generateCompareFuncs()
794 if (compareFuncs.find(glu::DataType(type)) != compareFuncs.end()) in generateCompareFuncs()
/external/deqp/modules/gles2/functional/
Des2fDepthStencilTests.cpp729 static const deUint32 compareFuncs[] = in randomDepthStencilState() local
763 …il[ndx].function = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs)); in randomDepthStencilState()
775 …params.depthFunc = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs)); in randomDepthStencilState()
787 } compareFuncs[] = in init() local
838 for (int stencilFunc = 0; stencilFunc < DE_LENGTH_OF_ARRAY(compareFuncs)+1; stencilFunc++) in init()
841 for (int depthFunc = 0; depthFunc < DE_LENGTH_OF_ARRAY(compareFuncs)+1; depthFunc++) in init()
845 bool hasStencilFunc = de::inBounds(stencilFunc, 0, DE_LENGTH_OF_ARRAY(compareFuncs)); in init()
846 bool hasDepthFunc = de::inBounds(depthFunc, 0, DE_LENGTH_OF_ARRAY(compareFuncs)); in init()
849 name << "stencil_" << compareFuncs[stencilFunc].name << "_"; in init()
854 name << "depth_" << compareFuncs[depthFunc].name; in init()
[all …]
Des2fUniformApiTests.cpp1092 } compareFuncs[] = in writeUniformDefinitions() local
1113 for (int compFuncNdx = 0; compFuncNdx < DE_LENGTH_OF_ARRAY(compareFuncs); compFuncNdx++) in writeUniformDefinitions()
1115 const dataTypePredicate (&typeReq)[2] = compareFuncs[compFuncNdx].requiringTypes; in writeUniformDefinitions()
1119 dst << compareFuncs[compFuncNdx].definition << "\n"; in writeUniformDefinitions()
/external/deqp/modules/gles3/functional/
Des3fDepthStencilTests.cpp729 static const deUint32 compareFuncs[] = in randomDepthStencilState() local
763 …il[ndx].function = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs)); in randomDepthStencilState()
775 …params.depthFunc = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs)); in randomDepthStencilState()
787 } compareFuncs[] = in init() local
838 for (int stencilFunc = 0; stencilFunc < DE_LENGTH_OF_ARRAY(compareFuncs)+1; stencilFunc++) in init()
841 for (int depthFunc = 0; depthFunc < DE_LENGTH_OF_ARRAY(compareFuncs)+1; depthFunc++) in init()
845 bool hasStencilFunc = de::inBounds(stencilFunc, 0, DE_LENGTH_OF_ARRAY(compareFuncs)); in init()
846 bool hasDepthFunc = de::inBounds(depthFunc, 0, DE_LENGTH_OF_ARRAY(compareFuncs)); in init()
849 name << "stencil_" << compareFuncs[stencilFunc].name << "_"; in init()
854 name << "depth_" << compareFuncs[depthFunc].name; in init()
[all …]
Des3fTextureShadowTests.cpp1009 } compareFuncs[] = in init() local
1031 for (int compareNdx = 0; compareNdx < DE_LENGTH_OF_ARRAY(compareFuncs); compareNdx++) in init()
1038 deUint32 compareFunc = compareFuncs[compareNdx].func; in init()
1043 string name = string(compareFuncs[compareNdx].name) + "_" + formats[formatNdx].name; in init()
1061 for (int compareNdx = 0; compareNdx < DE_LENGTH_OF_ARRAY(compareFuncs); compareNdx++) in init()
1068 deUint32 compareFunc = compareFuncs[compareNdx].func; in init()
1072 string name = string(compareFuncs[compareNdx].name) + "_" + formats[formatNdx].name; in init()
1090 for (int compareNdx = 0; compareNdx < DE_LENGTH_OF_ARRAY(compareFuncs); compareNdx++) in init()
1097 deUint32 compareFunc = compareFuncs[compareNdx].func; in init()
1103 string name = string(compareFuncs[compareNdx].name) + "_" + formats[formatNdx].name; in init()
Des3fUniformApiTests.cpp1263 } compareFuncs[] = in writeUniformDefinitions() local
1294 for (int compFuncNdx = 0; compFuncNdx < DE_LENGTH_OF_ARRAY(compareFuncs); compFuncNdx++) in writeUniformDefinitions()
1296 const dataTypePredicate (&typeReq)[2] = compareFuncs[compFuncNdx].requiringTypes; in writeUniformDefinitions()
1313 dst << compareFuncs[compFuncNdx].definition << "\n"; in writeUniformDefinitions()
/external/deqp/modules/egl/
DteglChooseConfigReference.cpp191 static const SurfaceConfig::CompareFunc compareFuncs[] = in compareTo() local
208 for (int ndx = 0; ndx < (int)DE_LENGTH_OF_ARRAY(compareFuncs); ndx++) in compareTo()
210 if (!compareFuncs[ndx]) in compareTo()
220 if (compareFuncs[ndx](*this, b)) in compareTo()
222 else if (compareFuncs[ndx](b, *this)) in compareTo()
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp841 void getCompareDependencies (std::set<glu::DataType>& compareFuncs, glu::DataType basicType) in getCompareDependencies() argument
848 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies()
849 compareFuncs.insert(basicType); in getCompareDependencies()
861 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies()
862 compareFuncs.insert(glu::getDataTypeFloatVec(glu::getDataTypeMatrixNumRows(basicType))); in getCompareDependencies()
863 compareFuncs.insert(basicType); in getCompareDependencies()
867 compareFuncs.insert(basicType); in getCompareDependencies()
903 std::set<glu::DataType> compareFuncs; in generateCompareFuncs() local
911 getCompareDependencies(compareFuncs, *iter); in generateCompareFuncs()
916 if (compareFuncs.find(glu::DataType(type)) != compareFuncs.end()) in generateCompareFuncs()
Des31fProgramUniformTests.cpp1079 } compareFuncs[] = in writeUniformDefinitions() local
1110 for (int compFuncNdx = 0; compFuncNdx < DE_LENGTH_OF_ARRAY(compareFuncs); compFuncNdx++) in writeUniformDefinitions()
1112 const dataTypePredicate (&typeReq)[2] = compareFuncs[compFuncNdx].requiringTypes; in writeUniformDefinitions()
1129 dst << compareFuncs[compFuncNdx].definition << "\n"; in writeUniformDefinitions()